During the early phases of operation with CICS®, the master terminal commands can put abending transactions into disabled status while the cause of the abend is being investigated and corrected.
Where a program needs to handle this process, or where associated programs or transactions should also be disabled, you may decide to incorporate these actions in your own PEP. This will depend on the importance of the applications being served.
The program error program is a command-level program that can be written in any of the languages that CICS supports. The CICS abnormal condition program passes to the PEP a communications area (COMMAREA) containing information about the abend. You can add code to take appropriate actions to suit your requirements.
Functions you might consider including in a program error program include:
If a task terminates abnormally (perhaps because of a program check or an ABEND command), code in a program-level exit or the PEP can flag the appropriate transaction code entry in the installed transaction definition as disabled. CICS will reject any further attempt by terminals or programs to use that transaction code until it is enabled again. Consequently, the effect of program checks can be minimized, so that every use of the offending transaction code does not result in a program check. Only the first program check is processed. If the PEP indicates that the installed transaction definition is to be disabled, CICS will not accept subsequent uses of that transaction code.
When you have corrected the error, you can re-enable the relevant installed transaction definition to allow terminals to use it. You can also disable transaction identifiers when transactions are not to be accepted for application-dependent reasons, and can enable them again later. The CICS Supplied Transactions manual tells you more about the master terminal operator functions.
If logic within DFHPEP determines that it is unsafe to continue CICS execution, you can force a CICS abend by issuing an operating system ABEND macro. If DFHPEP abends (transaction abend), CICS produces message DFHAC2263.
[[ Contents Previous Page | Next Page Index ]]