QUICK ANSWER
OPEN failed for a data set on tape or DASD; message IEC145I gives a return code, such as no device available for the volume.
LIKELY CAUSES, IN THE ORDER OF THIS ENTRY
- No device available for mounting the volume, or the allocated device is reserved, enqueued or already in use (rc 04).
- An I/O error positioning a tape, or the label anomaly exit caused the abend (rc 08).
- An I/O error reading the tape volume label (rc 0C).
- Opened for input but no volume serial was specified on the DD statement (rc 18).
- The volume sequence number on the DD statement exceeds the number of volumes (rc 1C).
CHECKED 14 Nov 2026 IBM: IEC145I - z/OS 3.2.0 MVS System Messages
TRY IT: JCL CHECKER ▸
MOST LIKELY
No device available for mounting the volume, or the allocated device is reserved, enqueued or already in use (rc 04).
FIRST CHECK
Specify another device in the UNIT parameter of the DD statement (rc 04).
TRY IT ▸
JCL checker
What it means
Abend 413 accompanies IEC145I when an error occurs during OPEN for a data set on magnetic tape or a direct access device.
IBM calls it a probable user error unless an I/O error occurred; the return code in the message says what failed.
Typical causes
- No device available for mounting the volume, or the allocated device is reserved, enqueued or already in use (rc 04).
- An I/O error positioning a tape, or the label anomaly exit caused the abend (rc 08).
- An I/O error reading the tape volume label (rc 0C).
- Opened for input but no volume serial was specified on the DD statement (rc 18).
- The volume sequence number on the DD statement exceeds the number of volumes (rc 1C).
How to fix it
- Specify another device in the UNIT parameter of the DD statement (rc 04).
- If the JFCB volume serial was changed after allocation, try the DEFER subparameter of UNIT.
- Correct the error that caused any earlier abnormal termination on the same device in the step.
- Correct the cause named by the return code and rerun the job.
- If an I/O error occurred and the program is not in error, check the job log and contact IBM Support.
Suggest a tool or report a wrong answer · How it works and why it is safe
No mail app opens? Write to hello@mainframepath.com . Please do not send confidential code or data.