GDSX (Extended General Device Support) Manual

Design and Development
Extended General Device Support (GDSX) Manual529931-001
2-86
Turning On the Trace Facility
Turning On the Trace Facility
There are four ways to turn on the trace facility. In all cases, the trace entries that are
generated depend on settings of the global trace^control^flags (found in the
common^data section of DCCBDECS) and auto^trace^flag (see DEBUGFLAGS on
page 2-54).
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.
SRMISC SR^MISC^REQ 200 Miscellaneous requests from
USCODE
SR^MISC^RSP 201 Miscellaneous responses to
USCODE
None 202-207 None
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
Table 2-5. USCODE Trace Classes and Entry Types (page 3 of 3)
SCF Trace
Class Keyword
Literal Name for
Entry Type
Literal
Value
Events Traced by USAMPLE
Example Program