A CURSOR-DESC structure contains information about a cursor, including the following:
The cursor’s unique ID
The type of cursor command most recently issued by the client
The status of the cursor
A CURSOR-DESC structure is defined in SYGWCOB as follows:
CURSOR-ID PIC S9(9) USAGE COMP SYNC. NUMBER-OF-UPDATE-COLUMNS PIC S9(9) USAGE COMP SYNC. FETCH-COUNT PIC S9(9) USAGE COMP SYNC. CURSOR-STATUS PIC S9(9) USAGE COMP SYNC. CURSOR-COMMAND PIC S9(9) USAGE COMP SYNC. COMMAND-OPTIONS PIC S9(9) USAGE COMP SYNC FETCH-TYPE PIC S9(9) USAGE COMP SYNC. ROW-OFFSET PIC S9(9) USAGE COMP SYNC. CURSOR-NAME-LENGTH PIC S9(9) USAGE COMP SYNC. CURSOR-NAME PIC X(30). TABLE-NAME-LENGTH PIC S9(9) USAGE COMP-SYNC. TABLE-NAME PIC X(30).
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |