lrd_ctlib_cursor

Example: lrd_ctlib_cursorAccess Management Functions

Specifies the CtLib cursor command to initialize.

LRDRET lrd_ctlib_cursor( LRD_CURSOR *mptCursor, char *mpcName, long mliNameLen, char *mpcText, long mliTextLen, LRDOS_INT4 mjCmdType, LRDOS_INT4 mjCmdOption, int miDBErrorSeverity);

mptCursor A pointer to an LRD_CURSOR structure.
mpcName A pointer to the statement identifier.
mliNameLen The length of the text pointed to by mpcName (negative for null-terminated).
mpcText A pointer to the string containing the request specification.
mliTextLen The length of the text pointed to by mpcText (negative for null-terminated).
mjCmdType The type of cursor command to initiate: LRD Cursor Types
mjCmdOption An option for the specified cursor command type: CtLib Cursor Options
miDBErrorSeverity The Error Severity Levels of a failure in a database routine.

The lrd_ctlib_cursor function specifies a CtLib cursor command to initialize. This function specifies the command type and its applicable option.

For more details refer to the Function Header File lrd.h in the include directory.

Return Values

See LRD Return Values.

Parameterization

The following arguments can be parameterized using standard parameterization: mpcName, mpcTex