Establishing the exit

DFHTRAP can be installed as part of the RDO group DFHFE. You can install it either with the GRPLIST system initialization parameter, or dynamically using the CEDA transaction.

When CICS® is running, activation and deactivation of the trap exit routine can be requested using the TRAP operand of the CSFE DEBUG command:

CSFE DEBUG,TRAP={ON|OFF}

The trap exit can also be activated at CICS initialization by specifying TRAP=ON, either in DFHSIT or as a startup override. If you want to replace a trap exit routine while CICS is running, use the CSFE DEBUG commands in conjunction with the CEMT NEWCOPY command. The following sequence of commands causes the currently active version of DFHTRAP to be refreshed:

CSFE DEBUG,TRAP=OFF
CEMT SET PROGRAM(DFHTRAP) NEWCOPY
CSFE DEBUG,TRAP=ON

Related Concepts
The global trap/trace exit
Information passed to the exit
Actions the exit can take
Program check handling

Related Tasks
Coding the exit
[[ Contents Previous Page | Next Page Index ]]