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

S137

Tape label or end-of-volume error (IEC022I)SYSTEM ABEND · CHECKED 2026-11-14
Checked against IBM documentation

An I/O or label error occurred at end-of-volume on a magnetic tape; message IEC022I gives the return code.

QUICK ANSWER

An I/O or label error occurred at end-of-volume on a magnetic tape; message IEC022I gives the return code.

LIKELY CAUSES, IN THE ORDER OF THIS ENTRY

  1. An I/O error while writing an end-of-volume label or tape mark (return code 04).
  2. An I/O error while positioning the tape or reading trailer or header labels (return codes 08 to 18).
  3. An incorrect trailer or header label was read (return codes 1C, 20).
  4. The operator did not reply U for a specific output volume whose expiration date had not passed (return code 24).

CHECKED 14 Nov 2026 IBM: 137 | z/OS 3.2.0 | IBM Documentation (z/OS MVS System Codes) · IEC022I | z/OS 3.2.0 | IBM Documentation (z/OS MVS System Messages)

MOST LIKELY

An I/O error while writing an end-of-volume label or tape mark (return code 04).

FIRST CHECK

Read message IEC022I and respond according to the return code.

TRY IT ▸

Site search

What it means

Abend 137 occurs at end-of-volume on a magnetic tape and comes with message IEC022I. Its return code tells which operation failed, such as writing a tape mark, positioning the tape or reading labels.

Typical causes

  • An I/O error while writing an end-of-volume label or tape mark (return code 04).
  • An I/O error while positioning the tape or reading trailer or header labels (return codes 08 to 18).
  • An incorrect trailer or header label was read (return codes 1C, 20).
  • The operator did not reply U for a specific output volume whose expiration date had not passed (return code 24).

How to fix it

  1. Read message IEC022I and respond according to the return code.
  2. For incorrect labels, run the DITTO utility to see the volume contents and recreate the volume if needed.
  3. For an I/O error, rerun with a different volume or device; request another scratch volume or a different UNIT.
  4. For a not-yet-expired volume, have the operator reply U or specify another volume serial number.