IEC140I ddname,ser, {START|END} OF DATA SET NOT ON VOLUME
Explanation
- The data set was opened to the start of an SL or AL magnetic tape file. The file sequence number specified (default=1) in the LABEL parameter of the DD statement is greater than the last file on the tape volume indicated, which ends with an EOV label. More volume serial numbers follow.
- The data set was opened for MOD processing to a magnetic tape file. The volume sequence number specified is less than the last volume number that the existing data set resides on. More volume serial numbers follow.
- The dsname in the HDR1, EOV1, or EOF1 label was not correct.
- The file sequence number specified (default=1, must be 1 for this message) in the LABEL parameter of DD statement ddn is less than the first file on the tape volume indicated by ser.
- A tape mark was read instead of a HDR1 label.
There are more previous volume serial numbers. This usually occurs when several specific volume serial numbers are specified in advance for a DISP=MOD data set to use instead of scratch tapes.
- ddname
- The DD name.
- ser
- The volume serial number.
System action
For START, the open routine permanently increases the volume sequence number by one and continues processing on the next volume specified.
For END, the open routine decreases the working volume sequence number by one and continues processing on the next volume specified.
Programmer response
To save the time required to do this multivolume positioning recovery, change the JCL.
For START:
- Specify a volume sequence number in the VOL parameter of the DD statement, or
- Omit the skipped volume serial numbers, or
- Specify VOL=REF=*.ddname to get only the last volume serial number of the previous file. This then is the first volume serial number of this file.
- Specify a volume sequence number in the VOL parameter of the DD statement, or
- Omit the excess volume serial numbers, or
- Omit all the volume serial numbers. This lets the system assign scratch volumes as needed instead of you making specific requests.
If you want to rerun the job, analyze and/or modify the JCL and program to ensure that the job does not accept the wrong tape because one of the three original error conditions for END may no longer exist.
Source
DFSMSdfp
Module
IFG0195H
Routing code
11
Descriptor code
6