Syntax examples

The following is an example of a CTncccxx member that could be used on a TRACE CT command to preset multiple sublevel traces.
TRACEOPTS

SUB(SUB201)
PRESET(DEFINE)
ON
ASID(000E,0002,0003)
JOBNAME(TEST1,TEST2,TEST3,TEST5,SMF,JES2) BUFSIZE(10K)
OPTIONS('new optionlist to record problem data')

SUB(SUB202)
PRESET(DEFINE)
LIKEHEAD

SUB(TEST5NODE1.TEST5NODE2.ASID(12,22,23))
PRESET(DEFINE)
OFF
The following example member turns on a trace that writes the trace data to a data set.
TRACEOPTS
WTRSTART(CTWTR)
ON
WTR(CTWTR)
ASID(0001,0002,0003)
JOBNAME(TEST1,TEST2,TEST3,SMF,JES2)
BUFSIZE(10K)
OPTIONS('list of options')
The following example member stops an external writer for a trace. Before this member is used, the trace must be turned off with a TRACE CT,OFF operator command or with a CTncccxx member that specifies TRACEOPTS and OFF. Do not turn off the writer in the same parmlib member as you turn off the trace.
TRACEOPTS
WTRSTOP(CTWTR)
The following CTnXESxx member turns on three sublevel SYSXES traces and starts an external writer for each sublevel trace. The last two sublevel traces will start later, when they are defined.
TRACEOPTS

ON
  BUFSIZE(4M)

  WTRSTART(XWTRGLO)
  WTRSTART(XWTRCO1)
  WTRSTART(XWTRCO2)
  
  SUB(GLOBAL)
  ON
  WTR(XWTRGLO)
  OPTIONS('CONNECT,RECOVERY')

  SUB(LT01.ASID(18).CONN1)
  PRESET(DEFINE)
  ON
  WTR(XWTRCO1)
  OPTIONS('GLOBAL,REQUEST')

  SUB(LT01.ASIG(1A).CONN2)
  PRESET(DEFINE)
  ON
  WTR(XWTRCO2)