Making trace entries

If tracing is active, you can specify that an entry in the CICS® trace table is made immediately before and immediately after the exit program runs.

Procedure

  • Use either of the following methods to create a trace entry before and after the exit program runs:
    • The UE option of the CETR transaction.
    • The UE option of the EXEC CICS SET TRACETYPE command.
  • If your global user exit is in a domain, you can add extra trace calls to provide additional diagnostic information by setting the AP option of EXEC CICS SET TRACETYPE to level 1 or 2.
  • Depending on which exit point you are using, you might be able to use the XPI DFHTRPTX TRACE_PUT macro to create trace entries in the user exit program.
    This macro is described in The user exit programming interface (XPI). The individual descriptions of the global user exit points indicate whether you can use the XPI DFHTRPTX macro.