The Client-Library command ct_cursor can request cursor row information. When the cursor command is TDS-CURSOR-INFO with the option CUR-SETROW (ct_cursor (CS-CURSOR-ROW)), the client is setting the row fetch count. In response, the Gateway-Library transaction calls the following functions:
Function |
Action |
---|---|
TDCURPRO |
Determine:
|
[application logic] |
[Adjust the cursor] |
TDCURPRO |
Send the cursor status to the client. |
TDGETREQ |
Retrieve the next part of the cursor request. |