What it means
IOERR is RESP 17. IBM lists it for file control, temporary storage and transient data commands (and journal control). On READQ TS it carries RESP2 5 for an unrecoverable I/O error on a shared queue. On READQ TD and WRITEQ TD the data record in error is skipped.
For file control, RESP2 is 120 and EIBRCODE gives more detail: the BDAM response, or the VSAM return code and error code, described in the z/OS DFSMS manuals. The default action is to end the task abnormally.
Typical causes
- For VSAM files, IOERR usually indicates a hardware error.
- For BDAM files, a WRITE to a track address not defined for the data set can cause it.
- An unrecoverable I/O error on a shared temporary storage queue (READQ TS, RESP2 5).
- An I/O error on a transient data queue, where the record in error is skipped.
- For a coupling facility data table, a bad response from a coupling facility access.
How to fix it
- Capture EIBRESP2 and, for file control, EIBRCODE as soon as the command returns.
- Decode the BDAM or VSAM codes using the z/OS DFSMS manuals that IBM names for EIBRCODE.
- Code RESP (and RESP2) on the command and test it so the task does not end abnormally.
- For transient data, remember the record in error was skipped.