Perform component tracing to trace data sets

The operator performs the tasks. Note that these tasks are for a specific component trace, rather than for a trace started by the system at initialization.

1. Start the Writer and component trace: The operator enters TRACE operator commands on the console with MVS™ master authority and replies with the options specified by the system programmer.

Example: TRACE CT command not specifying a parmlib member: The second TRACE CT command starts the SYSXCF trace; the trace options were selected in a previous example. Notice the two writer operands; the WTRSTART operand starts the writer and the WTR operand connects the writer to the component.
trace ct,wtrstart=wtdasd2
trace ct,on,comp=sysxcf
* 44 ITT006A ....
r 44,wtr=wtdasd2,options=(serial,status),end
Example: TRACE CT command specifying a parmlib member: This example requests the same trace using parmlib member CTWXCF04.
trace ct,on,comp=sysxcf,parm=ctwxcf04

2. Verify that the Trace and the Writer Are Running: See Verifying component tracing.

3. Stop the component trace: The operator enters a TRACE CT command on the console with MVS master authority.

Example 1: TRACE CT,OFF Command
trace ct,off,comp=sysxcf
* 56 ITT006A ....
r 56,end
Example 2: TRACE CT Command to Disconnect the Writer: To stop sending trace records to the trace data set, but keep the trace running, the operator can enter the following when the trace is currently running.
trace ct,on,comp=sysxcf
* 56 ITT006A ....
r 56,wtr=disconnect,end

The operator should stop the external writer.

4. Stop the External Writer: The operator enters a TRACE CT command on the console with MVS master authority.

Example: TRACE CT,WTRSTOP Command:
trace ct,wtrstop=wtdasd2