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

ATNI

Task abended by terminal error handlingCICS ABEND · CHECKED 2026-11-14
Checked against IBM documentation

CICS terminal error handling decided to end the task: the node error program or terminal error program chose to abend it after an error on its terminal or session.

QUICK ANSWER

CICS terminal error handling decided to end the task: the node error program or terminal error program chose to abend it after an error on its terminal or session.

LIKELY CAUSES, IN THE ORDER OF THIS ENTRY

  1. A hardware failure in which a network device rejects the data stream sent to it; the device may give an error code for the rejection.
  2. An error in a connected system, such as a mirror transaction abend, or a request to start a mirror transaction discarded because PURGETHRESH for its TRANCLASS was reached and PURGEACTION is DISCARD.
  3. A user application that does not correctly handle an error return code from an external resource manager such as Db2.
  4. TCT definitions that do not match the attributes of the actual device.

CHECKED 14 Nov 2026 IBM: ATNI (CICS Transaction Server for z/OS 6.x)

MOST LIKELY

A hardware failure in which a network device rejects the data stream sent to it; the device may give an error code for the rejection.

FIRST CHECK

Check the CSMT log for further information.

TRY IT ▸

Site search

What it means

ATNI has two forms. In the VTAM form the node error program (NEP) or NACP decides the task should be abended and DFHZNAC tells the request module to abend it. In the non-VTAM form the terminal error program (TEP) or terminal abnormal condition program (TACP) decides, and DFHTACP informs DFHZARQ.

The task is ended with a CICS transaction dump.

Typical causes

  • A hardware failure in which a network device rejects the data stream sent to it; the device may give an error code for the rejection.
  • An error in a connected system, such as a mirror transaction abend, or a request to start a mirror transaction discarded because PURGETHRESH for its TRANCLASS was reached and PURGEACTION is DISCARD.
  • A user application that does not correctly handle an error return code from an external resource manager such as Db2.
  • TCT definitions that do not match the attributes of the actual device.

How to fix it

  1. Check the CSMT log for further information.
  2. For the NEP (VTAM) form, run a VTAM trace type=BUF for the logical unit and repeat the error.
  3. For the TEP (non-VTAM) form, run a link trace for the line or local channel address of the device.
  4. Examine the data stream and the error response to find the cause, and check the TCT definitions against the real device.