z/OS DFSMSdfp Advanced Services
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Return Codes from OBTAIN (Reading by Absolute Device Address)

z/OS DFSMSdfp Advanced Services
SC23-6861-01

Table 1. DADSM OBTAIN Return Codes
Return Code Description
0(X'00') Successful completion of OBTAIN routine.
4(X'04') The required volume was not mounted.
8(X'08') The format-1 DSCB was not found in the VTOC of the specified volume or an "alien" (non-VSAM) request was returned from Catalog.
12(X'0C') A permanent I/O error was encountered or an unexpected error return code was received from CVAF.
16(X'10') Invalid work area pointer.
20(X'14') The SEEK option was specified and the absolute track address (CCHHR) is not within the boundaries of the VTOC.
24(X'18') Data set has a format-8 or format-9 DSCB and EADSCB=NOTOK is in effect
28(X'1C') Internal error with EADSCB=NOTOK in effect.

On return from SEEK requests with multiple DSCBs requested, the entire 140 bytes of the first return area will contain the 140 byte key and data portions of the DSCBs read from the volume. The remaining 140 byte return areas will contain the entire 140 byte key and data portions of the DSCBs chained from this first DSCB until the chain of DSCBs has ended or until the 140 byte return areas are exhausted.

On return from SEEK requests without multiple DSCBs specified, the first return area will contain the entire 140 byte key and data portions of the DSCB read from the user’s passed device address.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014