Request cursor status

The Client-Library command ct_cmd_props can request information on cursor options, identifiers, and status. When the cursor command is TDS_CURSOR_INFO with the option CUR_ASKSTATUS (ct_cmd_props), the client is requesting the status of the cursor. In response, the Gateway-Library transaction calls the following functions:

Function

Action

TDCURPRO

Determine the type of cursor command.

TDCURPRO

Send the cursor status to the client.

TDSNDDON

Send the reply to the client.

TDGETREQ

Retrieve the next part of the cursor request.