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