CICS Adend Codes :- Execute Interface Block and cics abend codes
Some of the more common CICS abends are briefly described below. These are only brief descriptions and do not cover all possible reasons.
This is the most common abend in CICS. It indicates a Program Check Exception, roughly equivalent to having an S0C7 in a batch program. Check for spaces in a packed decimal numeric field and changes to the file and record layouts.
AEIx and AEYx
There are numerous abends that start with AEI or AEY. They indicate that an exception has occured, and RESP (or NOHANDLE) is not is use. The last character indicates the exact error
indicates a PGMIDERR.
is a MAPFAIL condition,
indicates a duplicate key (DUPKEY) condition.
indicates a duplicatebrecord (DUPREC) condition.
indicates an End of file condition.
indicates that a file is not open (NOTOPEN)
indicates an invalid request condition (INVREQ)
indicates that you are not authorised to use a resource (NOTAUTH)
This abend usually occurs if your program is looping. There are CICS parameters that determine how long a task can run without giving up control. The ICVR parameter in the CICS SIT table can be used to specify a value for all tasks running in CICS, or you can specify a RUNAWAY value when you define a transaction . If a program is looping then you may not get an AICA abend, because the timer can be reset when certain events occur, eg some EXEC CICS commands may reset the timer to zero.
ATCH and ATCI
These abends indicates that the task was purged. The task may have been purged by someone issuing a CEMT command to purge the task, or by CICS because the Deadlock timeout limit has been exceeded or because there was not enough virtual storage available to run all the tasks in CICS (Short on Storage)
A program was not found or was disabled. Check the transaction definition to see if the program name was misspelled. Check that the program is enabled. Check that the program is in an appropriate Load Library (i.e., one defined to the current CICS system).
AKCP and AKCT
These abends indicate that a timeout of the task occurred. This may be due to a deadlock.
A dataset could not be accessed because it was disabled.
The specified map was not found in the specified mapset. Check that you have not misspelled the map name.
The Execute Interface Block (EIBLK) contains a variable called EIBFN. This contains a value that tells you what CICS command was last executed. This value can be displayed as part of an error message, to aid in the debugging of your code or when an exception condition occurs
The values for EIBFN are show below.