SAGQOPEN
Description
The SAGQOPEN function opens the cursor that is identified by cursor_ptr.
Example
sagqopen (
int anchor,
SQL_CTR_BLOCK * sql_cb_ptr ,
char * cursor_ptr,
char * stmt_id_ptr
);

cursor_ptr | The previously declared cursor to be opened or the implicitly declared cursor name returned by SAQGOPEN itself.
stmt_id_ptr | If supplied, the cursor is implicitly declared and opened for the previously prepared statement. The cursor name will be returned in cursor_ptr. If a cursor was previously declared by calling SAGQDECL, stmt_id_ptr must be set to NULL (null pointer).

For information about anchor (required by each SAGQ* SQL function), see the ACEAPI SQL Functions page.