Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Using List Services (IXLLIST) z/OS MVS Programming: Sysplex Services Guide SA23-1400-00 |
|
List services allow database products, subsystems, and authorized applications running in the same sysplex to use a coupling facility to share data organized in a list structure. The list structure consists of a set of lists and an optional lock table. Information is stored on each list as a series of list entries. Lists can be used as arrays, stacks, or queues. List entries can also be kept in sorted order by key value. The lock table can be used to serialize on resources in the list structure, such as a particular list or list entry. You can use the list structure and its associated services to distribute work requests among members of the sysplex or to maintain shared status information. For instance, different lists in the list structure could represent different classes of data or states of work items. A user could move a list entry from one list to another to reflect a change in the class or the state of the work represented by the list entry. Interfaces to list services provide the functions necessary to access and manage the list structure. Prior to OS/390® Release 9, IXLLIST was the sole interface to list services. Starting with OS/390 Release 9, three additional interfaces are available — IXLLSTC, IXLLSTE, and IXLLSTM. Functionally, these latter three interfaces provide the same services as IXLLIST, but also provide additional function beyond that provided by IXLLIST. It is IBM's intention to continue to support the IXLLIST service, but to add any new functions only to the IXLLSTC, IXLLSTE, and IXLLSTM services. IXLLSTC, IXLLSTE, and IXLLSTM contain updated syntax and may contain keyword names changed from IXLLIST. However, each IXLLIST invocation can be replaced by an equivalent IXLLSTC, IXLLSTE, or IXLLSTM invocation. Table 1 lists the services available with IXLLIST and names the equivalent IXLLSTC, IXLLSTE, or IXLLSTM invocation. Using List Services (IXLLSTE, IXLLSTM, IXLLSTC) discusses the additional functions provided by the IXLLSTC, IXLLSTE, and IXLLSTM services at OS/390 Release 9 and higher. Note that many of the new functions require that the list structure be allocated in a coupling facility of CFLEVLE=9 or higher. The IXLLIST macro, an interface to list services, allows you to:
The lock table consists of an array of exclusive locks. The purpose and scope of each entry in the lock table is entirely user-defined. IXLLIST also provides high-performance list transition monitoring that allows you to detect when a list changes from the empty state to the nonempty state (in which it has one or more entries) without having to access the coupling facility to check the list. For instance, if you are using the list structure as a distribution mechanism for work requests, list transition monitoring allows users to detect easily the presence or absence of incoming work requests on their queues. With a coupling facility of CFLEVEL=3 or higher, IXLLIST also provides
two additional monitoring functions for keyed list structures — event
queue monitoring and sublist monitoring.
You can choose to be notified of list transitions and/or event queue transitions by having your list transition exit receive control or you can issue the IXLVECTR macro to test whether a list or event queue you are monitoring has changed from empty to nonempty. The system processes each IXLLIST request atomically, that is, a request is processed from start to finish without interruption, ensuring that the list structure data can never be viewed or accessed by other connections while it is being modified. The serialized list structure allows you to serialize multiple IXLLIST requests so that they are performed atomically as seen by other users of the structure who are observing the same serialization protocols. Guide to the TopicsThe
following topics help you understand the list structure and the functions
provided by the IXLLIST macro:
|
Copyright IBM Corporation 1990, 2014
|