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). |