X25AM Configuration and Management Manual

PTrace for the X25AM Subsystem
X25AM Configuration and Management Manual523424-004
6-2
Recording and Displaying Trace Data
The following general description of the steps involved in recording and displaying
trace data selects level-2, level-3, and level-4 trace information.
1. Start the trace with the SCF TRACE command. The TRACE command allows you
to specify parameters such as the size of the trace records and the name and
maximum size of the trace file. The command that follows traces the line $X25X
and puts the result of the trace in a file called MYFILE.
-> TRACE LINE $X25X,TO MYFILE,SELECT (CLIPL2) &
-> PAGES 64, RECSIZE 2000
The PAGES option indicates that there are 64 units of space in the extended data
segment. The RECSIZE option indicates that there are 2000 bytes of data in a
trace data record.
2. Collect trace data while performing operations related to the problem you are
analyzing.
3. Stop the trace with another SCF TRACE command. The following command stops
the trace on line $X25X:
-> TRACE LINE $X25X, STOP
4. Display the trace file with PTrace. The following command displays the trace in the
file named MYFILE:
> PTRACE FROM MYFILE
Figure 6-1. Recording and Displaying Trace Data
VST0601.vsd
Start the Trace
with the SCF
TRACE command.
Collect trace
data.
Stop the trace with
the SCF TRACE
command.
Display the trace
file with PTrace.