If the WTRSTART parameter on the CTncccxx parmlib member or TRACE CT command specifies NOWRAP, the system uses the primary and secondary extents of the data set or sets. If the WTRSTART parameter specifies WRAP or omits the parameter, the system uses only the primary extent or extents.
Default: WRAP
If subname is a head level, all of the head's sublevel traces that are defined with a LIKEHEAD=YES parameter inherit the options specified in this parmlib member. Therefore, the options you specify for a head level can affect many sublevel traces.
If you specified the SUB parameter on the parmlib member to activate these trace options, the operator should not specify the SUB parameter on the TRACE CT command.
SUB(subname) cannot be specified in a parmlib member activated during system initialization.
The SUB parameter must be followed by a PRESET, ON, OFF, or LIKEHEAD parameter.
Default: None.
Use the PRESET parameter to set up the trace options in anticipation of a job entering the system or an address space being run. Later, when the CTRACE macro is invoked in the job or address space, the system will override the tracing options set up at initialization and instead use the options in the CTncccxx parmlib member with the PRESET.
The PRESET parameter is valid only in a parmlib member specified on the TRACE CT command; the PRESET parameter is ignored if specified from the CTRACE macro.
To use the preset options, a sublevel trace (SUB) can be defined as either ASID or JOBNAME. If there are both ASID and JOBNAME presets, the system uses only the ASID preset.
Once the information established through the preset has been used for a trace, the preset no longer exists.
If you specified a valid preset and then a CTRACE macro is issued with a PARM option, the system ignores the information in the parmlib member specified by the CTRACE macro and, instead, uses the preset information. But, if your preset was not valid, the system will issue an error message and then proceed to process the trace options specified on the CTRACE macro; the preset information is then deleted.
You can change the preset options by using the TRACE CT command with the PARM parameter and specifying PRESET(DEFINE) in the parmlib member.
PRESET(DELETE) deletes the existing preset.
When a head trace that was defined with HEADOPTS=YES is turned on, all sublevel traces currently defined as LIKEHEAD are also turned on. An installation-supplied application trace can also have head and sublevel traces, if specified in the CTRACE macro that defined the trace.
Whenever a trace that has sublevel traces is changed, all sublevel traces currently in the LIKEHEAD state will also be changed. Therefore, a change may cascade down a number of levels.
Value Range: 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.
Value Range: A list of 1 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.
When the size is not specified, the system uses the component-defined default or, for some components, the size specified in a TRACE CT command.
The size specified for an installation-supplied application trace must be within the range specified on the CTRACE macro for the trace; see the programmer for the size value.
For the component options that support component tracing, see the topic on component trace in z/OS MVS Diagnosis: Tools and Service Aids.
OPTIONS('optionA','optionB','optionN')
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 macro, can be changed while running.
The options for a head level defined with HEADOPTS=NO cannot be changed. When a head level that was defined with HEADOPTS=YES is changed, 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(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 WTRSTART or WTRSTOP parameter to start or stop the writer.
Some components do not stop tracing completely but reduce the tracing activity to the minimum required for serviceability data in a dump. An installation-supplied application trace will reduce tracing to a minimum if the head level is defined with MINOPS. All sublevel traces with the LIKEHEAD attribute will also reduce tracing to the minimum. Component trace writes a message to the operator when tracing is reduced to the minimum.
A head level defined with HEADOPTS=NO cannot be turned off.
When a head level defined with HEADOPTS=YES is turned off, all sublevel traces currently defined as LIKEHEAD will also be turned off. An installation-supplied application trace can have head level and sublevel traces, if specified in the CTRACE macro that defined the trace.
Component traces are defined by the IBM-supplied component; for components that use heads and subheads, see information about the component trace in z/OS MVS Diagnosis: Tools and Service Aids. Application traces are defined by the application using the CTRACE macro; for more information, see the documentation for the application.
You must also specify the WTR parameter. Otherwise, traces connected to the writer remain connected after the system stops it.