AM3270 and TR3271 Configuration and Management Manual

PTrace for AM3270 and TR3271
AM3270 and TR3271 Configuration and Management Manual529993-001
7-4
Trace Example
For information on starting PTrace and entering PTrace commands, and for more
detailed descriptions of the PTrace commands available to all subsystems, refer to the
PTrace Reference Manual.
Trace Example
The following commands will create a useful sample trace file:
1. Stop the AM3270 or TR3271 line.
STOP LINE $DEV
2. Start the line.
START LINE $DEV
3. Start the trace with the SCF TRACE command and specify SELECT ALL, PAGES
64, WRAP.
TRACE LINE $DEV, TO <FN>, SELECT ALL, PAGES 64, WRAP
4. Wait for the AM3270 or TR3271 line-ready console message.
5. Stop the trace. For example,
TRACE LINE $DEV, STOP
LOG Directs a copy of PTrace input and output to a file.
NEXT Displays the next trace data record(s) in the trace file.
OBEY Causes commands to be read from a different input file.
OCTAL Displays numbers in octal notation.
OUT Redirects the PTrace output.
PAGESIZE Sets the terminal screen size for interactive mode.
RECORD Displays the record(s) selected by record number.
RESET Resets session parameters to their default values and closes the trace
file.
SELECT Establishes selection criteria for displaying trace records.
SELMASK Selects the 32-bit mask trace-option value.
SETTRANSLATE Changes the ASCII-to-EBCDIC translation table.
STATETABLES Specifies the name of the file used for the display of state-machine
labels.
TEXT Turns on the text-display option.
TIMESTAMP Displays trace-record time in current system Local Time, or in original
trace time.
Table 7-1. Summary of PTrace Commands for AM3270 or TR3271 (page 2 of 2)
Command Description