Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Description z/OS MVS Programming: Sysplex Services Reference SA38-0658-00 |
|
A CASTOUT_DATALIST request allows you to read a set of data items from entries in the cache structure to the storage areas specified by BUFFER, BUFLIST, DEIBAREA, and/or ADJAREA. From these areas, the data can be written to permanent storage such as DASD. This is part of the cast-out process. The set of entries identified for castout processing is specified by CASTOUTLIST, which contains a list of up to 8 16-byte entry names. The system references the entries in the CASTOUTLIST by an index into the list and processes them sequentially beginning with the entry specified by the first index (STARTINDEX) and ending with the entry identified by the last index (ENDINDEX). The entries are numbered starting with 1. When you issue a CASTOUT_DATALIST request:
When processing is initiated for a CASTOUT_DATALIST request, the system moves the DEIB, which contains directory information for the entry, to DEIBAREA and adjunct data, if present in the structure, to ADJAREA for the first processed name in the CASTOUTLIST pointed to by STARTINDEX. The data area from the first processed entry is moved to the output BUFFER or BUFLIST. Subsequent processing of entries in the CASTOUTLIST move the DEIB, adjunct data if it exists, and the data area from the processed entry to the output BUFFER or BUFLIST. This continues until the end of the CASTOUTLIST pointed to by ENDINDEX is reached or until processing is discontinued. Processing for a CASTOUT_DATALIST request can be discontinued in
the following instances:
A CASTOUT_DATALIST can complete prematurely because the request exceeds the time-out criteria for the coupling facility. (Time-out criteria is model-dependent.) When a request completes prematurely, the system returns an index value (CAACDLINDEX) in the answer area that you can use to restart the CASTOUT_DATALIST request. The index value when a CASTOUT_DATALIST completes prematurely is the index of the first unprocessed entry in the CASTOUTLIST. A CASTOUT_DATALIST request can be issued only for cache structures allocated in a coupling facility of CFLEVEL=12 or higher. CASTOUT_DATALIST requests issued for a cache structure allocated in a coupling facility of CFLEVEL=0 through 11 will fail. |
Copyright IBM Corporation 1990, 2014
|