Saturday, November 17, 2012

Common CICS abends


Some of the more common CICS abends are briefly described below.These are only brief descriptions and do not cover all possible reasons. You should check the appropriate IBM manual(s) for full details

ASRA
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
AEI0 indicates a PGMIDERR.
AEI9 is a MAPFAIL condition,
AEIO indicates a duplicate key (DUPKEY) condition.
AEIN indicates a duplicatebrecord (DUPREC) condition.
AEID indicates an End of file condition.
AEIS indicates that a file is not open (NOTOPEN)
AEIP indicates an invalid request condition (INVREQ)
AEY7 indicates that you are not authorised to use a resource (NOTAUTH)

 See the CICS Messages & Codes Manual for more details.

AICA
 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)

APCT
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 (ie 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.

AFCA
A dataset could not be accessed because it was disabled.

ABM0
The specified map was not found in the specified mapset. Check that you have not misspelled the map name.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.