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

PGMIDERR

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

CICS could not use the program named in the command; on LINK, RESP2 gives the reason.

QUICK ANSWER

CICS could not use the program named in the command; on LINK, RESP2 gives the reason.

LIKELY CAUSES, IN THE ORDER OF THIS ENTRY

  1. No installed program definition, and autoinstall is off or declined it (RESP2 1).
  2. The program is disabled (RESP2 2).
  3. The program load failed, typically because the load module was not found, or an earlier load had failed (RESP2 3).
  4. The autoinstall control program failed or returned invalid data (RESP2 21 to 24).
  5. The dynamic routing program rejected the link request (RESP2 25).

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

MOST LIKELY

No installed program definition, and autoinstall is off or declined it (RESP2 1).

FIRST CHECK

Capture RESP2 and match it to the cause.

TRY IT ▸

Site search

What it means

PGMIDERR is RESP 27. On LINK, RESP2 1 means the program has no installed definition and autoinstall was off or declined it, 2 means the program is disabled, and 3 means it was not loaded.

RESP2 21 to 24 cover autoinstall control program failures, 25 means the dynamic routing program rejected the request, and 26 and 27 apply to a failed or timed-out LINK to a Liberty JVM server application. The default action is to end the task abnormally.

Typical causes

  • No installed program definition, and autoinstall is 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 failed (RESP2 3).
  • The autoinstall control program failed or returned invalid data (RESP2 21 to 24).
  • The dynamic routing program rejected the link request (RESP2 25).

How to fix it

  1. Capture RESP2 and match it to the cause.
  2. For RESP2 3, put the module in the DFHRPL concatenation and issue SET PROGRAM NEWCOPY to reset the load status.
  3. For RESP2 26, read message DFHSJ1207 for why the Liberty application could not be invoked.
  4. Code RESP (and RESP2) on the command and test it so the task does not end abnormally.

Example

Illustrative only; names and values are invented.

EXEC CICS LINK PROGRAM('PROG02') COMMAREA(WS-AREA)
     RESP(WS-RESP) RESP2(WS-RESP2) END-EXEC
IF WS-RESP = DFHRESP(PGMIDERR) ...