Learn it on Mainframe Path. Do it with Mainframe KIT.Learn on Mainframe Path ▸
Mainframe KIT ● Nothing leaves this tab

IOERR

DFHRESP(IOERR) = 17CICS RESP CONDITION · CHECKED 2026-11-14
Checked against IBM documentation

An input/output error occurred on the resource the command used.

QUICK ANSWER

An input/output error occurred on the resource the command used.

LIKELY CAUSES, IN THE ORDER OF THIS ENTRY

  1. For VSAM files, IOERR usually indicates a hardware error.
  2. For BDAM files, a WRITE to a track address not defined for the data set can cause it.
  3. An unrecoverable I/O error on a shared temporary storage queue (READQ TS, RESP2 5).
  4. An I/O error on a transient data queue, where the record in error is skipped.
  5. For a coupling facility data table, a bad response from a coupling facility access.

CHECKED 14 Nov 2026 IBM: EXEC interface block (EIB) fields (CICS Transaction Server for z/OS 6.x) · READQ TS (CICS Transaction Server for z/OS 6.x) · READQ TD (CICS Transaction Server for z/OS 6.x) · WRITEQ TD (CICS Transaction Server for z/OS 6.x) · READ (CICS Transaction Server for z/OS 6.x)

MOST LIKELY

For VSAM files, IOERR usually indicates a hardware error.

FIRST CHECK

Capture EIBRESP2 and, for file control, EIBRCODE as soon as the command returns.

TRY IT ▸

Site search

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

  1. Capture EIBRESP2 and, for file control, EIBRCODE as soon as the command returns.
  2. Decode the BDAM or VSAM codes using the z/OS DFSMS manuals that IBM names for EIBRCODE.
  3. Code RESP (and RESP2) on the command and test it so the task does not end abnormally.
  4. For transient data, remember the record in error was skipped.