SNAX/XF and SNAX/APN Configuration and Management Manual

PTrace Reference for SNAX/XF and SNAX/APN
SNAX/XF and SNAX/APN Configuration and Management Manual425836-006
15-2
How to Record and Display Trace Data
How to Record and Display Trace Data
Figure 15-1 shows the four general steps used to record and format trace data.
1. Start the trace using the SCF TRACE command.
The following example SCF command starts a trace of a line named $SNA1,
collects all record types, sets a trace record size of 1024, and writes the collected
trace records in the file $DATA.WORK.TRACE01:
TRACE LINE $SNA1, SELECT ALL, RECSIZE 1024, &
TO $DATA.WORK.TRACE01
2. While the trace is running, perform the activity you want to be recorded by the
TRACE facility (for example, run the application for which a problem has occurred).
The TRACE facility will collect the trace data.
3. Stop the trace using the SCF TRACE command.
The following example SCF command stops the trace started in Step 1:
TRACE LINE $SNA1, STOP
4. Format the trace file using PTrace.
First, start the PTrace utility using the RUN command:
PTRACE
Figure 15-1. Recording and Formatting Trace Data
Start the trace with the
SCF TRACE
command.
Collect trace data.
Stop the trace with the
SCF TRACE
command.
Format the trace file with
PTrace.
VST1501.vsd