SAGQDEAL

sagqdeal (

int anchor,

SQL_CTR_BLOCK * sql_cb_ptr,

char * stmt_id_ptr

);

 

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.

 

stmt_id_ptr

The statement id returned by SAGQPREP to be deallocated.

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 About ACEAPI SQL Functions.