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

AEI0

PGMIDERR condition not handledCICS ABEND · CHECKED 2026-11-14
Checked against IBM documentation

A command raised PGMIDERR and the program had no RESP, NOHANDLE or HANDLE CONDITION for it, so CICS ended the task with abend AEI0.

QUICK ANSWER

A command raised PGMIDERR and the program had no RESP, NOHANDLE or HANDLE CONDITION for it, so CICS ended the task with abend AEI0.

LIKELY CAUSES, IN THE ORDER OF THIS ENTRY

  1. A command raised PGMIDERR and had neither a RESP nor a NOHANDLE option.
  2. No EXEC CICS HANDLE CONDITION for PGMIDERR was active when the command ran.
  3. On LINK the program had no installed definition and autoinstall was off or declined it (RESP2 1).
  4. The program is disabled (RESP2 2).
  5. The program load failed, typically because the load module was not found, or an earlier load had already failed (RESP2 3).
  6. A program name held in a data area must be defined as an 8-byte field; IBM states this for LINK PROGRAM(data-area).

CHECKED 14 Nov 2026 IBM: AEI0 (CICS Transaction Server for z/OS 6.x) · AEIA abend (CICS Transaction Server for z/OS 6.x) · LINK (CICS Transaction Server for z/OS 6.x)

MOST LIKELY

A command raised PGMIDERR and had neither a RESP nor a NOHANDLE option.

FIRST CHECK

Change the program so the condition does not occur.

TRY IT ▸

Site search

What it means

The EXEC interface program (DFHEIP) issues AEI0 when PGMIDERR was raised on a command that has no RESP or NOHANDLE option, or the program has not run HANDLE CONDITION for it. CICS then takes the default system action, which is normally to abend the transaction.

The transaction is ended with a CICS transaction dump. IBM describes the whole group of AEIx abends together under AEIA.

PGMIDERR itself (RESP 27) means CICS could not use the named program. On LINK, RESP2 1 means no installed definition and autoinstall is off or declined it, 2 means the program is disabled, and 3 means the program was not loaded.

Typical causes

  • A command raised PGMIDERR and had neither a RESP nor a NOHANDLE option.
  • No EXEC CICS HANDLE CONDITION for PGMIDERR was active when the command ran.
  • On LINK the program had no installed definition and autoinstall was off or declined it (RESP2 1).
  • The program is disabled (RESP2 2).
  • The program load failed, typically because the load module was not found, or an earlier load had already failed (RESP2 3).
  • A program name held in a data area must be defined as an 8-byte field; IBM states this for LINK PROGRAM(data-area).

How to fix it

  1. Change the program so the condition does not occur.
  2. Add the RESP option to the command and test the response.
  3. Or code HANDLE CONDITION for the condition and decide what the program should do then.
  4. Use EIBRESP2 or EIBRCODE from the EIB to help find the cause.
  5. The function code of the failing command is at offset X'1B' in the EIB, EIBRCODE at X'1D', EIBRESP at X'4C' and EIBRESP2 at X'50'; use them in the dump to identify the command.
  6. For a load failure, the load module must be in the DFHRPL concatenation and SET PROGRAM NEWCOPY is needed to reset the load status.

Example

Illustrative only; names and values are invented.

01 WS-PGM-NAME   PIC X(8) VALUE 'ORDPGM01'.
EXEC CICS LINK PROGRAM(WS-PGM-NAME) COMMAREA(WS-COMM)
     RESP(WS-RESP) RESP2(WS-RESP2) END-EXEC