Envoy Configuration and Management Manual

Tr acing
Envoy Configuration and Management Manual429861-001
6-10
Trace Examples
Trace Examples
The following steps will create a useful sample trace file:
1. Stop the Envoy line.
STOP LINE
2. Start the line.
START LINE
3. Start the trace by using the SCF TRACE command and specify SELECT ALL,
PAGES 64, WRAP.
TRACE LINE $LDEV, TO filename, SELECT ALL, PAGES 64, WRAP
4. Wait for the Envoy line-ready console message.
5. Stop the trace.
TRACE LINE $LDEV, 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 the line.
ASSUME LINE $ENVY1
TRACE, to ENVTRACE, 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 ENVTRACE
5. Check the file size.
COUNT
SELECT (LINEINFO)
OUT to $FILENAME
RECORD ALL
EXIT
Note. Depending on the nature of the problem that you are investigating, you might want to
start the trace before starting the line.