CONNX Data Integration Suite 14.8.0 | CONNX Embedded SQL for Adabas | ACEAPI | ACEAPI SQL Functions | SAGQDESC
 
SAGQDESC
Description
The SAGQDESC function describes a previously prepared statement that is identified by stmt_id_ptr. The input_sqlda_ptr and/or output_sqlda_ptr in sql_cb_ptr must have been previously allocated.
Example
sagqdesc (
int anchor,
SQL_CTR_BLOCK * sql_cb_ptr,
char * stmt_id_ptr
);
stmt_id_ptr
The statement id for execution. Returned by SAGQPREP.
sql_cb_ptr->input_sqlda_ptr
Static SQLDA - SQLDA structure allocated by the application.
Dynamic SQLDA - SQLDA structure, the result of the SAGQPREP function.
sql_cb_ptr->output_sqlda_ptr
Static SQLDA - SQLDA structure allocated by the application.
Dynamic SQLDA - SQLDA structure, the result of the SAGQPREP function.
For information about anchor (required by each SAGQ* SQL function), see the ACEAPI SQL Functions page.