Change trace data sets

If you are running a component trace to a trace data set or sets, you can determine if you have the needed records without stopping the trace. Ask the operator to do the following:
  1. Enter a TRACE CT,WTRSTART command for a different set of source JCL for each external writer to trace data sets.
  2. Enter a TRACE CT command that starts the trace with the different source JCL for the writer.

The new source JCL sends the trace records to the new data set or sets. You may lose a few trace records.

You can view the previous data set or sets to check the trace records collected, then continue or stop the trace, as needed.

Example: Changing the Trace Data Sets: The original commands were:
trace ct,wtrstart=wtdasd2
trace ct,on,comp=sysxcf
* 67 ITT006A ...
r 67 wtr=wtdasd2,options(serial,status),end
The commands to change the trace data sets are:
trace ct,wtrstart=wtdasd4
trace ct,on,comp=sysxcf
* 67 ITT006A ...
r 67 wtr=wtdasd4,options(serial,status),end