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

ILLOGIC

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

A VSAM error occurred that is not in any other CICS response category; EIBRCODE gives further information.

QUICK ANSWER

A VSAM error occurred that is not in any other CICS response category; EIBRCODE gives further information.

LIKELY CAUSES, IN THE ORDER OF THIS ENTRY

  1. A VSAM error that does not fall into any other CICS response category.
  2. For a user-maintained data table, a non-UPDATE READ during loading when CICS tried to retrieve the record from the source data set.

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

MOST LIKELY

A VSAM error that does not fall into any other CICS response category.

FIRST CHECK

Capture EIBRCODE as soon as the command returns.

TRY IT ▸

Site search

What it means

ILLOGIC is RESP 21 with RESP2 110 on READ, READNEXT and WRITE. It means a VSAM error that is not in one of the other CICS response categories. See EIBRCODE in the EIB.

For READNEXT, the browse in progress is terminated when ILLOGIC is raised. The default action is to end the task abnormally.

Typical causes

  • A VSAM error that does not fall into any other CICS response category.
  • For a user-maintained data table, a non-UPDATE READ during loading when CICS tried to retrieve the record from the source data set.

How to fix it

  1. Capture EIBRCODE as soon as the command returns.
  2. Use the VSAM return and error codes in EIBRCODE, described in the z/OS DFSMS manuals, to find the cause.
  3. After ILLOGIC on READNEXT, start the browse again because it was terminated.