CS_CUR_ID is the server identification number assigned to a cursor.
An application retrieves a cursor’s identification number after calling ct_cmd_props(CS_CUR_STATUS) to confirm that a cursor exists in the command space of interest.
CS_CUR_ID is a command structure property and cannot be retrieved at the connection or context levels.
Cursor properties are useful to gateway applications that send cursor information to clients.
For an example fragment that retrieves the cursor ID, see “Example for Cursor Status” on page 320.