Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Handling an Incompletely Processed READ_LIST Request z/OS MVS Programming: Sysplex Services Guide SA23-1400-00 |
|
A READ_LIST request can complete prematurely for either of the
following reasons:
When a READ_LIST request ends before returning all the information,
IXLLIST:
To continue scanning the list, reissue the READ_LIST request with the ENTRYID keyword specifying the entry ID from the returned list entry controls for the next list entry to be scanned. Be sure to process the data you received on the last request before reissuing the request. Continue reissuing the request until the return code indicates that all processing has completed. If the request ended prematurely because the buffer was too small to hold the first entry to be read (for instance, your buffer is 4096 bytes but the data entry information is 65536 bytes), determine the size of the data entry for the list entry that caused the failure by checking the list entry control information returned in LAALCTL (mapped by the IXLYLCTL macro.) Note that the LAALCTL field is valid only when the request ended prematurely because the buffer could not hold all the requested information. You must know the data element size to make this calculation because the list entry controls only indicate the number of data elements, not their size. If the buffer is too small to hold the information associated with the failing list entry, reissue the READ_LIST request with a buffer at least the size of the failing list entry's data entry. |
Copyright IBM Corporation 1990, 2014
|