just a random pick

JCL Abend code : S001

An I/O error condition was encountered during BDAM, BISAM, BPAM, BSAM, QISAM, or QSAM processing

--possible causes could be--

  • Input record described incorrectly, length error
  • Incompatible RECFM
  • Read into a table whose subscript was zero
  • Incorrect label parameter
  • Tape being read in wrong density
  • directory of PDS was overwritten
  • NSL label had incorrect dsname, operator cancelled
  • True I/O failure, UCB show redundancy
  • Aecondary space allocation for DASD output file too small
  • Incorrect use of block contains clause had recording mode F when created, but not when read

Check out IEC020I message for more details

Reason code Explanation

The LRECL and BLKSIZE specified in DCB differs from LRECL and BLKSIZE indicated in data set


RECFM=U was specified, but no LRECL was specified a write was attempted to a data set that was opened for input read was attempted to a data set that was opened for output incorrect concatenation (i.e. largest blksize not first)


An error was encountered while attempting to close the dataset


FOR QSAM, An Unacceptable error was encountered because of

a. The caller returned from the SYNAD

b.The caller did not provide a SYNAD


FOR QSAM, ABE or an invalid value for EROPT parameter in the DCB and/or no error handling (SYNAD) exit was specified.

I/O error because of defective volume or device or - an empty data set or out of space

Hardware error - bad tape or tape drive

Input file record length is not equal to the length stated in the DD or the DD. wrong length record.

with disk, reading a dataset that was allocated but never written to. writing to input file

concatenation of files with different record lengths or record formats.


FOR QSAM, A Reading was issued after end-of-file. Reading after the end of the file by non-COBOL program. COBOL intercepts this and displays "QSAM error, status 92". Out of space on output disk file.

Suggestion / Complaint / Feedback