IEB122I
DSCB COULD NOT BE OBTAINED. OBTAIN RC=return-code REASON CODE=reason

Explanation

The data set associated with the DD statement named in accompanying message IEB120I was not on the volume (taken from the catalog or the DD statement), or the volume could not be mounted.

In the message text:
return-code
The OBTAIN macro return code.
reason
The OBTAIN macro reason code.

The severity is 8.

System action

The operation is ended and the next control statement is sought.

System programmer response

If the error recurs and the program is not in error, look at the messages in the job log for more information. Search problem reporting data bases for a fix for the problem. If no fix exists, contact the IBM® Support Center. Provide the JCL and all printed output and output data sets related to the problem.

Programmer response

Verify that the named volume is the correct volume, and if it is, verify that it does contain the data set. In a system with System Managed Storage (SMS) active, it is possible that SMS will assign a data set to a different volume than the one coded on a DD statement.

Refer to IGD and IEF prefix messages in the JCL message data set to verify which volume contains a SMS managed data set.

Problem determination

The IDCAMS utility may be used to display the volume on which a cataloged data set is supposed to reside. The IEHLIST utility may be used to display the names of data sets which resident on a specific volume.

Source

Data Facility Product (DFP)

Routing code

Note 11

Descriptor code

-