PTrace Reference Manual
PTrace Commands
PTrace Reference Manual—526393-001
3-20
OBEY Command
•
The function keys on a Tandem 6530 terminal can be used as shorthand for
various NEXT count commands. Table 3-2 shows the number of records
displayed by each function key.
Examples: NEXT Command
A given trace file contains four records created on 09/17/90, with timestamps of
23:16:43.560006, 23:17:46.271051, 23:18:37.581826, and 23:19:48.591324. The
following is an example of three NEXT commands and the records they display if
entered in the sequence shown:
OBEY Command
The OBEY command causes commands to be read from a specified file. Command
files cannot contain OBEY commands; that is, nested command files are not allowed.
Commands are read from the named file and processed until the end of file, an EXIT
command, or an error is encountered. If the end of file is encountered, command
processing continues from the previous input source. If an EXIT command is found,
PTrace terminates. If an error occurs, the command file is closed and input reverts to
interactive mode if PTrace was started interactively. If PTrace was started with a disk
file specified as the IN file (that is, if PTrace was not run in interactive mode), PTrace
terminates.
file-name
specifies the file from which commands are to be read.
Table 3-2. Function Key Substitutes for the NEXT Command
Key Records Key Records Key Records Key Records
F1 1 F5 5 F9 9 F1313
F2 2 F6 6 F10 10 F14 14
F3 3 F7 7 F11 11 F15 15
F4 4 F8 8 F12 12 F16 16
?NEXT 4 Displays all four trace records.
?NEXT AFTER 09/17/1990 23:00 Displays the first record in the trace file.
?NEXT 4 Displays the next three trace records,
followed by the message, “End of trace
file.”
O[BEY] file-name