Trace activities

Trace-related activity: How to accomplish the activity:
Define the application to component trace CTRACE macro with DEFINE parameter (referred to as CTRACE DEFINE for the remainder of this text)
Start tracing A user-written start/stop exit routine and one of the following:
  • TRACE CT and accompanying REPLY operator commands
  • Parmlib member on a TRACE CT operator command
  • PRESET in a parmlib member on a TRACE CT operator command
  • Parmlib member on CTRACE DEFINE
Create trace table entries ITTCTE mapping macro
Obtain status information DISPLAY TRACE operator command. A user-written display trace exit routine is optional.
Change trace options A user-written start/stop exit routine and one of the following:
  • TRACE CT and accompanying REPLY operator commands
  • Parmlib member on a TRACE CT operator command
Note: Specify MOD=YES on CTRACE DEFINE if you want to allow options to be changed while the trace is running.
Externalize trace data through a dump
  • SVC dump requested by an SDUMPX macro (you can also use the SDUMP macro)
  • Stand-alone dump requested by the operator
Externalize trace data through the external writer See Externalizing trace data through the external writer.
Stop tracing A user-written start/stop exit routine and one of the following:
  • TRACE CT operator command
  • Parmlib member on a TRACE CT operator command
  • PRESET in a parmlib member on a TRACE CT operator command
  • Parmlib member on CTRACE DEFINE
Format the trace entries
  • IPCS subcommands
    • CTRACE
    • COPYTRC
    • MERGE
  • CTRACE format table (ITTFMTB macro)
  • CTRACE buffer find exit routine (used when you place your trace buffers in a dump)
  • CTRACE filter/analysis (CTRF) exit routine (optional)
  • Trace entry format model
Delete the application from component trace CTRACE macro with the DELETE parameter