Handle ABEND is not applicable to Java™ programs. Although HANDLE ABEND is supported in C and C++ when used with the PROGRAM option, it is not helpful in the context of this chapter because exception conditions in C and C++ programs do not cause abends.
The HANDLE ABEND command activates or reactivates a program-level abend exit within your application program; you can also use this command to cancel a previously activated exit. For more information see the CICS® Application Programming Reference manual .
CICS does not allow the use of HANDLE ABEND LABEL in Assembler programs that do not use DFHEIENT and DFHEIRET. Assembler programs that use the Language Environment® stub CEESTART should either use HANDLE ABEND PROGRAM or a Language Environment service such as CEEHDLR.
HANDLE ABEND lets you supply your own code to be executed when an abend is processed. This means that your application can cope with the abnormal situation in an orderly manner and carry on executing. You provide the user exit programs and rely on CICS calling them when required.
The flow of control during abend processing is shown in Figure 76.
[[ Contents Previous Page | Next Page Index ]]