CONNX Data Integration Suite 14.8.0 | CONNX Embedded SQL for Adabas | ACEAPI | ACEAPI SQL Functions | SAGQDEAL
 
SAGQDEAL
Description
The SAGQDEAL function deallocates a previously prepared statement identified by stmt_id_ptr.
Dynamic SQLDA structures allocated by SAGQPREP will also be freed if sql_cb_ptr -> input_sqlda_ptr and/or sql_cb_ptr -> output_sqlda_ptr -> NULL.
Example
sagqdeal (
int anchor,
SQL_CTR_BLOCK * sql_cb_ptr,
char * stmt_id_ptr
);
stmt_id_ptr
The statement id for deallocation. Returned by SAGQPREP
sql_cb_ptr -> input_sqlda_ptr
Static SQLDA - NULL
Dynamic SQLDA - SQLDA structure, the result of the SAGQPREP function.
sql_cb_ptr -> output_sqlda_ptr
Static SQLDA - NULL
Dynamic SQLDA only - SQLDA structure, the result of the SAGQPREP function.
For information about anchor (required by each SAGQ* SQL function), see the ACEAPI SQL Functions page.