IEC022I
137-rc,mod,jjj,sss,ddname [-#],dev,volser,dsname [,nnn LOST BLOCKS]

Explanation

The error occurred during end-of-volume processing on a magnetic tape.

In the message text:
137-rc
Associates this message with system completion code 137 and the return code. For explanations of the hex return codes, see Return Code Explanations in the following text.
mod
The name of the module in which the error occurred.
jjj
The job name.
sss
The step name.
ddname[-#]
The data definition name, followed by a concatenation number if it is part of a concatenation and not the first DD statement in the concatenation.
dev
The device number.
volser
The volume serial number.
dsname
The data set name.
nnn
The number of blocks written to the hardware buffer but not written to the tape medium.
The explanation of the hex return code is as follows:
Return Code
Explanation
04
An I/O error occurred while an end-of-volume label or a tape mark was being written.
08
An I/O error occurred while the tape was being positioned in preparation for label processing.
0C
An I/O error occurred while the system was reading a trailer label for a data set opened with the input or output option. If an embedded short block was encountered when using FBS to read a data set, the I/O error occurred during an attempt to read the EOF1 label to verify EOD. If the data set was opened with the option RDBACK, the I/O error occurred while the header label was being read.
10
An I/O error occurred while a magnetic tape was being positioned at the end of the data set.
14
An I/O error occurred while header labels for a data set opened for INPUT or INOUT was being read. If the data set was opened for RDBACK, the error occurred while the trailer label was being read.
18
An I/O error occurred while a magnetic tape was being positioned at the first data record of a data set or during a Read Block ID command used to establish the tape position.
1C
An incorrect trailer label was read during end-of-volume processing. Execute the DITTO utility program to determine the contents of the volume. Take any corrective action necessary to recreate the volume so that the information can be accessed.
20
An incorrect header label was read during end-of-volume processing. Execute the DITTO utility program to determine the contents of the volume. Take any corrective action necessary to recreate the volume so that the information can be accessed.
24
A specific volume serial number was specified for the second or subsequent volume of an output data set on magnetic tape. During end-of-volume processing, it was discovered that the expiration date (from the HDR1 label of the first data set currently on the specified volume) had not passed. When requested to specify whether the volume could be used in spite of the expiration date, the operator did not reply 'U'. Ask the operator to reply 'U' or specify another volume serial number.
28
One of the following:
  • The operator responded with an 'M' reply (reject VOL1 label rewrite) to message IEC704A.
  • During end-of-volume (EOV), IEC704A was issued 10 times because of an invalid reply or repeated IO errors during the VOL1 rewrite.
2C
The input volume contains a standard ISO/ANSI tape label that is not Version 1 or Version 3 or Version 4.
30
A label violated the published standard for that label, and the label validation exit issued a return code requesting OPEN/EOV to reject the volume.
37
During end-of-volume processing, the operator replied 'U' to message IEC510D. The magnetic tape volume is mounted on a Cartridge Stack Loader, the File Protect Ring is not enabled, and a specific volume serial was specified. Specify a different volume in the DD statement.
38
During the processing of a Read Block ID command to establish the tape position, an I/O error occurred.
3C
For a specific private tape in the Automated Tape Library (ATL), either of the following events occurred:
  • Message IEC534D was issued and the reply was 'M' to mount another volume.
  • An existing data set with an unexpired date was detected, and either message IEC507D was issued with reply 'M' or the File Validation Tape Installation Exit received control and returned RC08 to reject the volume.
In an ATL, all volume serial numbers must be unique. There cannot be any volume substitution for specifically requested volumes.

System action

The task is ended unless the error is to be ignored as specified in the DCB ABEND exit routine. If the error is to be ignored, the system will attempt to close the DCB before returning to the user.

Operator response

Start a generalized trace facility (GTF) trace, and re-create the problem. Reply to message AHL100A with
TRACE=SYS,USR,SLIP
In the DD statement for the data set in error, specify
DCB=DIAGNS=TRACE

System programmer response

If the error recurs and the program is not in error, look at the messages in the job log for more information. Search problem reporting databases for a fix for the problem. If no fix exists, contact the IBM® Support Center. Provide the SYSOUT output for the job.

Programmer response

This is a probable user error unless an I/O error has occurred. Correct the errors that caused the abnormal end as indicated by the return code in the message text. Then resubmit the job.

If the return code is 2C, correct the volume label to be compatible with ISO/ANSI Version 3 processing (use the IEHINITT utility program).

If the return code is 30, the label field that is in error is identified in message IEC512I. Respond to IEC512I before reusing the volume.

If an I/O error has occurred, a defective volume or device may be the cause. Rerun the job, specifying a different volume or device. If a scratch volume was being used when the I/O error occurred, request a different volume. If that does not solve the problem, request a different device in the UNIT parameter of the DD statement. If a specific volume is needed, try requesting a different device in the UNIT parameter of the DD statement. Rerun the job.

Source

DFSMSdfp

Module

IFG0551P

Routing code

11

Descriptor code

6