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

S813

Tape header label does not match the data set (IEC149I)SYSTEM ABEND · CHECKED 2026-11-14
Checked against IBM documentation

OPEN found that the data set name in a tape header label did not match the name on the DD statement; message IEC149I is issued.

QUICK ANSWER

OPEN found that the data set name in a tape header label did not match the name on the DD statement; message IEC149I is issued.

LIKELY CAUSES, IN THE ORDER OF THIS ENTRY

  1. The DSNAME or volume serial on the DD statement is wrong.
  2. The JFCB was modified incorrectly before OPEN was issued.
  3. The first file on the tape does not exist, because the tape holds only a volume label and a dummy header.

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

TRY IT: JCL CHECKER ▸

MOST LIKELY

The DSNAME or volume serial on the DD statement is wrong.

FIRST CHECK

Check that the DD statement specifies the correct DSNAME and volume serial number.

TRY IT ▸

JCL checker

What it means

Abend 813 occurs during OPEN for a data set on magnetic tape and comes with message IEC149I. Return code 04 means the data set name in the header label did not match the name in the JFCB.

Typical causes

  • The DSNAME or volume serial on the DD statement is wrong.
  • The JFCB was modified incorrectly before OPEN was issued.
  • The first file on the tape does not exist, because the tape holds only a volume label and a dummy header.

How to fix it

  1. Check that the DD statement specifies the correct DSNAME and volume serial number.
  2. If a program issues OPEN with a modified JFCB, make sure the JFCB was not changed incorrectly.
  3. Correct the error and rerun the job.