open

The open statement substitutes any input variables in the statement buffer, and sends the result to Adaptive Server for execution. The syntax for the open statement is:

exec sql [at connection_name] open cursor_name
    [using {host_variable_list |
     sql descriptor descriptor_name | descriptor sqlda_name}]
 end-exec

where: