Expand Configuration and Management Manual (G06.24+)

Tracing
Expand Configuration and Management Manual523347-008
16-8
Examples
record in which the previously specified string parameter was found. However, if you
enter the FIND command without a string parameter and no previous FIND
command with a string parameter has been issued, an error is returned.
While the PTrace facility processes the FIND command, trace records will not be sent
to the output device. If the specified string is found in an output line, the entire record is
sent to the output device.
Examples
The following example searches the trace file for both uppercase and lowercase
occurrences of the character string EXPAND03:
?FIND BOTH "EXPAND03"
The following example searches for the next occurrence of a previously specified
string:
?FIND
FROM Command
The FROM command causes PTrace to open the specified trace file. Each time a trace
file is opened using the FROM command, all options selected using the other PTrace
commands are reset to their defaults.
file-name
specifies the name of the disk file to be opened. This file name is the one you
specified in the SCF TRACE command.
Example
?FROM $TEST.TRACE1
HEX Command
The HEX command, if set to ON, prints the data portion of a trace record, including the
record header, in hexadecimal format.
ON | OFF
ON enables printing in hexadecimal format. OFF disables printing in hexadecimal
format and enables printing in octal format. The default is OFF.
FROM file-name
HEX { ON | OFF }