This statement can be embedded in an application program only. It is an executable statement that cannot be dynamically prepared.
cursor- name | Indentifies a cursor by the specified cursor name. The name must identify a cursor that has already been allocated in the source program. |
host-variable | Indentifies a cursor by the cursor name contained in the host variable. The name must identify a cursor that has already been allocated in the source program. |
descriptor-name | Identifies an SQL descriptor area (SQLDA). The information returned in the SQLDA describes the columns in the result set associated with the named cursor. |