Specifying TRACE CT options
In response to a TRACE CT,ON command without the PARM parameter, the system prompts you to specify the component trace options you want with message ITT006A. Use the REPLY command to respond to that message. You can specify each option, ASID, JOBNAME, OPTIONS, or WTR only if the component or application supports it. You can enter the DISPLAY TRACE command before entering a TRACE CT command to verify which options are supported.
Syntax
R id[,ASID=(nnnn[,nnnn]...)]
[,JOBNAME=(name[,name]...)]
[,OPTIONS=(name[,name]...)]
[,WTR={membername|DISCONNECT}]
[,CONT|,END ]
Parameters
- id
- The identification number (0-9999), as specified on the prompting message.
- ASID=(nnnn[,nnnn]...)
- Specifies the address space identifiers (ASIDs) of address spaces to be used as a filter for
tracing. Events in these ASIDs are to be recorded by the component trace.
The parameter contains a list of 0 to 16 hexadecimal ASIDs separated by commas. An empty ASID list, ASID=(), turns off filtering by address spaces. In the ASID parameter, list all address spaces to be traced; address spaces specified for previous traces will not be traced unless listed.
- JOBNAME=(name[,name]...)
- Specifies the names of jobs to be used as a filter for tracing. Events in these jobs are to be
recorded by the component trace.
The parameter contains a list of 0 to 16 job names separated by commas. An empty job list, JOBNAME=(), turns off filtering by jobs. In the JOBNAME parameter, list all jobs to be traced; jobs specified for previous traces will not be traced unless listed.
- OPTIONS=(option[,option]...)
- Specifies component-specific options for tracing. See z/OS MVS Diagnosis: Tools and Service Aids for the options for an
IBM-supplied component that supports component tracing. Refer to the installation-supplied
application for the options for the application.
The options for some IBM-supplied component traces can be changed while the trace is running; to change the options for others, stop the trace and restart it with the new options. An installation-supplied application trace defined with MOD=YES in the CTRACE DEFINE macro can be changed while running.
The options for a head level defined with HEADOPTS=NO cannot be changed. When you change a head level that was defined with HEADOPTS=YES, all of the sublevel traces currently in LIKEHEAD status will also be changed. Therefore, a change may cascade down a number of levels.
Omit OPTIONS to allow the component to use its default options.
- WTR=membername
- WTR=DISCONNECT
- Connects or disconnects the component trace external writer and the trace.
membername identifies the name of the member that contains the source JCL that
invokes the external writer. The member can be a SYS1.PROCLIB cataloged procedure or a job. The
membername in the WTR parameter must match the membername in a
previous TRACE CT,WTRSTART command.
WTR=DISCONNECT disconnects the writer and the trace. The component continues tracing and placing the trace records in the address-space buffer, but stops passing trace records to the external writer.
You must also specify a TRACE CT,WTRSTART or TRACE CT,WTRSTOP command to start or stop the writer.
- CONT or END
- Specifies that the reply continues on another line. The system reissues the same prompting message. You then can continue the reply. You can repeat any parameters on the continuation line, except END. Repeated parameters are strung together. They do not overlay each other. You must specify END to complete the response. END identifies the end of the REPLY.
Examples
Example 1:
TRACE ST,OFF
Example 2:
TRACE ST,250k,BR=ON
Example 3:
TRACE MT,100k
Example 4:
TRACE CT,ON,COMP=SYSGRS,PARM=CTYGRS02