CP6100 Configuration and Management Manual
PTrace Facility for CP6100
CP6100 Configuration and Management Manual—426741-003
9-8
Trace Example
Trace Example
The following commands will create a useful sample trace file:
1. Stop the CP6100 line:
STOP LINE $CPL1
2. Start the line:
START LINE $CPL1
3. Start the trace with the SCF TRACE command and specify SELECT ALL, PAGES
64, WRAP:
TRACE LINE $CPL1, TO <FN>, SELECT ALL, PAGES 64, WRAP
4. Wait for the CP6100 line-ready console message.
5. Stop the trace. For example:
TRACE LINE $CPL1, STOP
6. Use PTrace to format and display the trace records.
The following example of a trace allows you to examine the trace file after you recreate
the original problem:
1. Assume the line and then trace it:
ASSUME LINE $CPL1
TRACE, TO CPTRACE, PAGES 64, RECSIZE 256
2. Recreate the original error that you want to capture.
3. Stop the trace and exit:
TRACE, STOP
EXIT
4. Run PTrace:
PTRACE FROM CPTRACE
5. Check the file size:
COUNT
SELECT CLIPDI, CLIPD0, L0
OUT to file-name
RECORD ALL
EXIT
Note. Depending on the nature of the problem you are investigating, you may wish to start the
trace before starting the line.