When the cursor command is TDS-CURSOR-CLOSE, the client is requesting to close a cursor. This can be a request to both close and deallocate the cursor, or to close it only.
When the cursor command is TDS-CURSOR-DEALLOC, the client is requesting to deallocate a cursor.
In response to either command, the Gateway-Library transaction calls the following functions:
Function |
Action |
---|---|
TDCURPRO |
Determine:
|
[application logic] |
[Close the cursor] |
TDCURPRO |
Send the cursor status to the client. |
TDSNDDON |
Send the reply to the client. |
TDGETREQ |
Retrieve the next part of the cursor request. |
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |