GDSX Manual
Design and Development
Extended General Device Support (GDSX) Manual–134303
2-81
Turning On the Trace Facility
common^data section of DCCBDECS) and auto^trace^flag (see "DEBUGFLAGS" on
page 2-51).
DEFINEs for the trace^control^flags are given in Table 2-6 and Table 2-7. As long as
the trace file is open, setting the defined text to 1 causes trace records to be generated for
the corresponding trace class. Setting the defined text to 0 turns off the generation of
trace records for the corresponding trace class. Setting the auto^trace^flag to 1 is
equivalent to turning on all the trace^control^flags for TSCODE and USCODE events.
The trace facility is turned on in four different ways:
1. Enter the following PARAM command at the TACL prompt:
> PARAM DEBUGFLAGS 16
The PARAM command should be entered before creating the GDSX process. This
traces all TSCODE events described in Table 2-6 as well as all USCODE-defined
events.
2. Within USCODE, set auto^trace^flag to 1, as defined in the config^template section
of DCCBDECS. This traces all TSCODE events described in Table 2-6 as well as
all USCODE-defined events.
Table 2-6. TSCODE Trace Classes, Trace^control^flags DEFINEs, and Events
Traced
SCF Trace
Class Keyword
Equivalent
trace^control^flags DEFINE TSCODE Events Traced
EXTREQ EXT^REQ^TRACE Traces external requests
EXTDATA EXT^DATA^TRACE Traces external data
INTREQ INT^REQ^TRACE Traces internal requests
INTDATA INT^DATA^TRACE Traces internal data
INTDISP INT^DISP^TRACE Traces internal task dispatches
CBRESRCE RESRCE^CB^TRACE Traces control block resources
POOLRESRCE RESRCE^POOL^TRACE Traces pool resources
EXTCTRL EXT^CTRL^TRACE Traces external controls
INTREQCTRL INT^REQ^CTRL^TRACE Traces internal request controls
INTTSKCTRL INT^TASK^CTRL^TRACE Traces internal task controls
NSTCTRL NST^CTRL^TRACE Traces fault tolerance processing
controls
ERRCTRL ERR^CTRL^TRACE Traces error controls
TSCODE TSCODE^TRACE Traces all the above TSCODE
events
Note. DEBUGFLAGS is a bit-encoded configuration parameter—see "GDSX Configuration
Parameters" on page 2-42 for details.