RDF System Management Manual for J-series and H-series RVUs (RDF 1.10)
Examples
This command disables the copying of LIST command output:
Enter the next RDFSCAN function you want: NOLOG
File: $SYSTEM.SANFRAN.RDFLOG, current record: 9454,
last record: 9466
Enter the next RDFSCAN function you want:
SCAN
The SCAN command scans a specific number of messages in the file and displays all of those in
that range that contain the current match pattern.
SCAN number
number
is the number of messages to scan within the log file.
Usage Guidelines
The search begins at the current record (ordinarily the record number specified in an immediately
preceding AT command), and continues until either the number of records specified in number
are examined or until the end-of-file is reached, whichever comes first.
If pattern matching is enabled, the SCAN command displays only those records that contain the
current match pattern.
If pattern matching is disabled, the SCAN command displays the specified number of messages
starting at the current record. This behavior is identical to using the LIST command with pattern
matching disabled.
NOTE: The SCAN command performs a slightly different operation than the LIST command when
pattern matching is enabled. For example:
• If you specify SCAN 10, RDFSCAN searches the next 10 records for the currently
specified pattern and displays all records from among those 10 in which the pattern is
found. For instance, if only 6 records among the next 10 contain that pattern, only those 6
records are displayed. RDFSCAN searches until either 10 records are examined or the
end-of-file is encountered, whichever comes first.
• If you specify LIST 10, RDFSCAN searches the rest of the file for the
currently-specified pattern and displays the first 10 records between the current
location and the end of the file that contain that pattern. RDFSCAN searches
until either 10 records are displayed or the end-of-file is reached, whichever comes first. If the
rest of the file contains only 6 records that match, only those 6 records are displayed.
For information about enabling and disabling pattern matching, see the MATCH command
description in “MATCH” (page 256).
Examples
The commands in this example specify displaying all messages in the file from record 1000 through
record 2000 that contain the match pattern $AU02:
Enter the next RDFSCAN function you want: AT 1000
File: $SYSTEM.SANFRAN.RDFLOG, current record: 1000,
last record: 2955
Enter the next RDFSCAN function you want: MATCH *$AU02*
File: $SYSTEM.SANFRAN.RDFLOG, current record: 1000,
last record: 2955, Pattern: *AU02*
Enter the next RDFSCAN function you want: SCAN 1000
258 Entering RDFSCAN Commands










