What it means
Abend 013 accompanies IEC141I when an error occurs during OPEN processing; the return code in the message says which check failed.
Examples: 18 means a member named in the DSNAME was not found in the partitioned data set; 20 means BLKSIZE is not a multiple of LRECL (or LRECL is 0 with RECFM=FB/FBS) for a queued-access sequential data set; 60 means RECFM=F with BLKSIZE not equal to LRECL.
Typical causes
- A member that was named could not be found in the partitioned data set (rc 18).
- BLKSIZE is not a multiple of LRECL, or for RECFM=V BLKSIZE is not at least 4 bytes greater than LRECL (rc 20).
- RECFM=F specified but BLKSIZE not equal to LRECL (rc 60).
- The DCB MACRF value conflicts with the OPEN option, such as no GET/READ for input (rc 24) or no PUT/WRITE for output (rc 28).
- A QSAM data set with BLKSIZE=0 where no usable block size could be found (rc 34).
How to fix it
- Read the return code in IEC141I and correct the cause that code describes, then rerun the job.
- Correct LRECL, BLKSIZE and RECFM in the DCB or DD statement so they agree.
- For rc 60, use RECFM=FB or make LRECL and BLKSIZE equal.
- If the DD is part of a concatenation, check the sequential concatenation requirements.
- For rc C1, contact the system programmer to investigate the failing installation exit.