just a random pick

JCL Abend code : S031

A QISAM I/O error occurred

The control program attempted to pass control to an error analysis (SYNAD) routine, but found that (1) the DCBSYNAD field of the data control block did not contain the address of a valid SYNAD routine, or (2) the error occurred after a CLOSE macro instruction was run by task end (the problem program returned control to the supervisor without processing a CLOSE macro instruction).

The task was abnormally ended. The DCBEXCD1 and DCBEXCD2 fields of the data control block indicate the possible causes of the original error:

DCBEXCD1:

Bit Explanation
0

Record not found.

1

Incorrect actual address for lower limit.

2

Space not found.

3

Incorrect request.

4

Uncorrectable input error.

5

Uncorrectable output error.

6

Block could not be reached (input).

7

Block could not be reached (update).

DCBEXCD2:

Bit Explanation
0

Sequence check.

1

Duplicate record.

2

DCB closed when error detected.

3

Overflow record.

4

PUT: length of field greater than length indicated in DCBLRECL field of the data control block.

5-7

(Reserved bits).

Suggestion / Complaint / Feedback