Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Understanding the List Cursor z/OS MVS Programming: Sysplex Services Guide SA23-1400-00 |
|
A list cursor is associated with each list. It acts as a pointer
that you can move back and forth on the list. Its most natural use
is to enable a set of users to cooperate in the processing of a list.
For instance, if the list represented units of work to be performed,
the list cursor could be used as follows. After initializing the list
cursor to point to a list entry, users seeking work would:
In this example, once the list cursor reaches the end of the list, the list service resets the list cursor to zero. When a list cursor points to a list entry, it contains the entry ID of that list entry. For list structures allocated in a coupling facility with CFLEVEL=1
or higher, when you are running on an MVS™ SP 5.2 system with
version one of the IXLLIST macro:
|
Copyright IBM Corporation 1990, 2014
|