If your application is written in a language other than C, C++, or Java™ and you do not specify otherwise, CICS® uses its built-in exception handling whenever an exception condition occurs. If your application is written in C or C++, CICS itself takes no action when an exception condition occurs and it is left to the application to handle it. See Handling exception conditions by in-line code for information on handling exception conditions.
The most common action by CICS is to cause an abend of some type to happen. The particular behaviors for each condition and for each command are detailed in the CICS Application Programming Reference and CICS System Programming Reference manuals.
Sometimes you will be satisfied with the CICS default exception handling, in which case you need do nothing. More often you will prefer some other course of action.
These are the different ways of turning off the default CICS handling of exception conditions.
If the default CICS exception handling is turned off you should ensure that your program copes with anything that may happen in the command call.
The traditional, but no longer recommended, way to specify some other course of action is available only if you are programming in a language other than C or C++: it is to use combinations of the HANDLE ABEND, HANDLE CONDITION, and IGNORE CONDITION commands to modify the default CICS exception handling. This is described in Modifying default CICS exception handling.
[[ Contents Previous Page | Next Page Index ]]