To activate the trace facility in a CICS region, run the supplied transaction VTMT. The following screen is displayed:
--------------------------- CICS VT TRACE STATUS ----------- this termid => 0037
DIMS BEING TRACED: DIM0001_ DIM0002_ DIM0012_ ________ ________
________ ________ ________ ________ ________
TRACE POINTS ACTIVE: 01 05 07 __ __ __ __ __ __
DUMP POINTS ACTIVE: __ __ __ __ __ __ __ __ __
TERMIDS BEING TRACED: 0037 0051 ____ ____ ____
____ ____ ____ ____ ____
s ACTIVATE TRACE _ DE-ACTIVATE TRACE
Positions of the standard Trace Points :-
01 - start of VSAM call 06 - after Field Build Exit
02 - Reserved 07 - after DB2 Column built
03 - DB2 Table Cursor Open 08 - VSAM return Code
04 - DB2 Table Read 09 - DB2 ISRT / DLET / REPL
05 - DB2 Table Cursor Close
MAKE CHANGES AND ENTER 'S' TO SELECT ACTION
CLEAR:END SESSION
TRACE IS ACTIVE
You must specify at least one DIM and one termid. Alternatively, you can specify *ALL as either the DIM or termid. Use termid *ALL to trace non-terminal related transactions.
Using *ALL for DIM and termid at the same time may result in significant trace output depending on your CICS® workload, and may cause some degree of system degradation while the trace is active.
Activate and de-activate trace by selecting either ACTIVATE TRACE or DE-ACTIVATE TRACE options. The current trace status is displayed at the foot of the screen.
In most cases, trace points 01, 03, 04, 05, and 08 provide the most useful diagnostics. Avoid using trace points 06 and 07 unless you need to capture field-level information.
The output from the trace is sent to the CICS destination VIDT, which is defined during CICS VT configuration and setup. This destination relates to the DD statement VIDTRC in your CICS JCL, which can be either a 133-byte sequential data set or SYSOUT.