SAGQDESC

sagqdesc (

int anchor,

SQL_CTR_BLOCK * sql_cb_ptr,

char * stmt_id_ptr

);

 

The SAGQDESC function describes a previously prepared statement identified by stmt_id_ptr.

The input_sqlda_ptr and/or output_sqlda_ptr in sql_cb_ptr must have been previously allocated.

 

stmt_id_ptr

The statement id returned by SAGQPREP to be executed.

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