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

AICA

Task runawayCICS ABEND · CHECKED 2026-11-14
Checked against IBM documentation

CICS ended the task because it ran longer than the runaway time interval without giving up control, which points to a possible loop.

QUICK ANSWER

CICS ended the task because it ran longer than the runaway time interval without giving up control, which points to a possible loop.

LIKELY CAUSES, IN THE ORDER OF THIS ENTRY

  1. The task ran past the ICVR runaway interval without giving up control.
  2. A tight loop or non-yielding loop in the user program.
  3. In some cases the loop is in CICS code rather than your program.

CHECKED 14 Nov 2026 IBM: AICA | CICS Transaction Server for z/OS 6.x · Investigating loops that cause transactions to abend with abend code AICA | CICS Transaction Server for z/OS 6.x

MOST LIKELY

The task ran past the ICVR runaway interval without giving up control.

FIRST CHECK

Make sure system dumping is enabled for dump code AICA, and run the task with selective trace on the AP domain and EI.

TRY IT ▸

Site search

What it means

A task executed for longer than the runaway interval set by the ICVR operand of the system initialization table without returning control to CICS. This indicates a possible loop in the application, and CICS ends the task with an AICA transaction dump.

IBM describes the loop behind AICA as either a tight loop or a non-yielding loop, both confined to a single program.

Typical causes

  • The task ran past the ICVR runaway interval without giving up control.
  • A tight loop or non-yielding loop in the user program.
  • In some cases the loop is in CICS code rather than your program.

How to fix it

  1. Make sure system dumping is enabled for dump code AICA, and run the task with selective trace on the AP domain and EI.
  2. Format the system dump with the KE and TR keywords and check the kernel task summary and linkage stack to see whether the loop is in your code or in CICS.
  3. Use the trace entries before AP 1942, especially AP 00E1 entries, to find the commands inside the loop.
  4. If the loop is in CICS code, keep the dump and contact IBM Support.