MainframeKit

S813

Tape header label does not match the data set (IEC149I)SYSTEM ABEND

The tape mounted for OPEN does not hold the data set the job asked for, so OPEN stopped. Check the data set name, volume and file sequence.

MOST LIKELY

The DSN in the JCL is not the name in the tape's header label.

FIRST CHECK

Read the IEC149I return code, DD name and volume serial.

TRY IT ▸

JCL checker

What it means

Abend 813 comes with message IEC149I, which gives a return code, the DD name, the device, the volume and the data set. It is raised while opening a tape data set.

Return code 04 means the header label on the mounted tape does not match the data set that was requested. IBM has documented it for a data set that was not the first file on the tape and was not catalogued, so the volume and file position came from elsewhere, and for a DFSMSrmm open rule that tells it to ignore the volume on input (message EDG4061I comes first).

Typical causes

  • The DSN in the JCL is not the name in the tape's header label.
  • The wrong volume serial, so a different tape is mounted.
  • The wrong file sequence number in LABEL=, for a data set that is not the first file on the tape.
  • An uncatalogued tape data set referred to with wrong volume or file sequence information.
  • A DFSMSrmm OPENRULE with INPUT(IGNORE) or ANYUSE(IGNORE) for the volume.

How to fix it

  1. Read the IEC149I return code, DD name and volume serial.
  2. List the tape's labels and compare the data set name and file sequence with the JCL.
  3. Correct DSN, VOL=SER or the LABEL= sequence number; or catalogue the data set and refer to it by name.
  4. If a tape management product issued a message just before IEC149I, ask the storage team to check its open rules.
  5. Rerun once the mounted tape is confirmed as the right one.

Example

Illustrative only; names and values are invented.

IEF450I TAPEJOB4 STEP020 - ABEND=S813 U0000 REASON=00000004