CP6100 Configuration and Management Manual
PTrace Facility for CP6100
CP6100 Configuration and Management Manual—426741-003
9-3
Determining the Subsystem
The following general description of the steps involved in recording and displaying
trace data selects CLIP level-2 trace information.
1. Start the trace with the SCF TRACE command, which 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 $CPL1 and puts the
result of the trace in a file called MYFILE:
TRACE LINE $CPL1,TO MYFILE,SELECT (CLIPL2) &
PAGES 64, RECSIZE 2000
PAGES indicates 64 units of space in the extended data segment. RECSIZE
indicates a maximum of 2000 bytes of data in a trace data record.
2. Collect trace data while you perform operations related to the problem that you are
analyzing.
3. Stop the trace with another SCF TRACE command. The following command stops
the trace on the line $CPL1:
TRACE LINE $CPL1, STOP
4. Display the trace file with PTrace.
Run PTrace from the TACL prompt to display the trace in the file named MYFILE:
PTRACE FROM MYFILE
Determining the Subsystem
PTrace uses the line device type to indicate the CP6100 subsystem. PTrace reads this
information when it opens the trace file.
The device type for CP6100 is 51. The possible subtypes are:
0,1,2,4.
PTrace Commands
You use PTrace commands to format trace files generated by a subsystem. This
subsection describes only those details of the PTrace commands that you use to
format the trace files that the CP6100 subsystem generates.
Some PTrace commands are common to all subsystems while others are subsystem-
specific. The subsystem commands common to all subsystems are listed in Table 9-1
on page 9-4; only the subsystem-specific commands are described later in this section.
ADCCP 2
BSC 1
MPS-B 4
LIU 0