Using CICS trace
CICS® trace is a debugging aid for application programmers, system programmers, and IBM® field engineers. General CICS tracing is handled by the CICS trace domain. It traces the flow of execution through CICS code, and through your applications as well. You can see what functions are being performed, which parameters are being passed, and the values of important data fields at the time trace calls are made. This type of tracing is also useful in first failure data capture, if an exception condition is detected by CICS.
Trace points are included at specific points in CICS code. From these points, trace entries can be written to any currently selected trace destination. Some trace points are used to make exception traces when exception conditions occur, and some are used to trace the mainline execution of CICS code.
CICS provides different levels of tracing to assist with problem determination. Standard trace level 1 is the default setting for each component to be traced within CICS. The user can use CETR to specify what trace levels are set for each component of CICS. By default, INTTR, SYSTR, and USERTR are set ON. This means the main system and user trace flags default to be set on, and internal tracing is active. STNTR defaults to 1, as do all the STNTRxx values, and as a result standard trace component tracing defaults to level 1 for all CICS trace components. The consequence of this is that by default a CICS system incurs the CPU usage to provide this level of internal CICS trace data.
All CICS trace points are listed in alphabetical sequence in Trace entries.