Asynchronous Terminals and Printer Processes Configuration and Management Manual

Table Of Contents
PTrace Facility for ATP6100
Asynchronous Terminals and Printer Processes Configuration and Management Manual424280-003
7-8
Trace Example
Trace Example
The following commands will create a useful sample trace file.
1. Stop the asynchronous terminals and printers processes line:
STOP LINE $ATPL1
2. Start the line:
START LINE $ATPL1
3. Start the trace with the SCF TRACE command and specify SELECT ALL, PAGES
64, WRAP:
TRACE LINE $ATPL1, TO <FN>, SELECT ALL, PAGES 64, WRAP
4. Wait for the ATP6100 line-ready console message:
5. Stop the trace:
TRACE LINE $ATPL1, 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 and then trace the line:
ASSUME LINE $ATPL1
TRACE, TO ATPTRACE, 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 ATPTRACE
5. Check the file size:
COUNT
SELECT CLIPDI, CLIPD0, L0
OUT to filename
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.