Learn it on Mainframe Path. Do it with Mainframe KIT.Learn on Mainframe Path ▸
Mainframe KIT ● Nothing leaves this tab

S413

OPEN error on tape or DASD volume (IEC145I)SYSTEM ABEND · CHECKED 2026-11-14
Checked against IBM documentation

OPEN failed for a data set on tape or DASD; message IEC145I gives a return code, such as no device available for the volume.

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

  1. No device available for mounting the volume, or the allocated device is reserved, enqueued or already in use (rc 04).
  2. An I/O error positioning a tape, or the label anomaly exit caused the abend (rc 08).
  3. An I/O error reading the tape volume label (rc 0C).
  4. Opened for input but no volume serial was specified on the DD statement (rc 18).
  5. 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

  1. Specify another device in the UNIT parameter of the DD statement (rc 04).
  2. If the JFCB volume serial was changed after allocation, try the DEFER subparameter of UNIT.
  3. Correct the error that caused any earlier abnormal termination on the same device in the step.
  4. Correct the cause named by the return code and rerun the job.
  5. If an I/O error occurred and the program is not in error, check the job log and contact IBM Support.