AM3270 and TR3271 Configuration and Management Manual

PTrace for AM3270 and TR3271
AM3270 and TR3271 Configuration and Management Manual529993-001
7-5
Trace Example
6. Use PTrace to format and display the trace records.
The following example of trace allows you to examine the trace file after you recreate
the original problem:
1. Assume the line and then trace the line.
ASSUME LINE $am1
TRACE, TO AMTRACE,PAGES 200, RECSIZE 2048
2. Recreate the original error that you want to capture.
3. Stop the trace and exit:
TRACE, STOP
EXIT
4. Run PTrace:
PTRACE FROM AMTRACE
5. Check the file size:
COUNT
SELECT CLIPDI, CLIPD0, CLIPCTLI, CLIPCTL0,L0
OUT to filename
RECORD ALL
EXIT
6. You can also run the command from the PTrace line:
f b a "text known to initiate error"
Note. Depending on the nature of the problem you are investigating, you may wish to start the
trace before starting the line.