Usage Guidelines
The LIST command always transmits its output to the standard output device for RDFSCAN,
which is normally your terminal. When you specify a destination file in the LOG command,
RDFSCAN directs subsequent LIST command output to that destination file as well as producing
it on the standard output device. That is, with the LOG command, LIST output goes both to your
terminal and the file specified in LOG.
NOTE:
Do not confuse the file specified in the LOG command with the EMS event log that
receives RDF messages and whose contents are displayed by the LIST command. For information
about selecting the file for your session, see FILE command description in
“FILE” (page 264)
.
If the file specified by the LOG command does not exist, RDFSCAN creates an EDIT file of that
name.
If you enter a LOG command without specifying a file name, RDFSCAN prompts you for the
file name by displaying:
Enter log file name:
To terminate copying to the file selected by LOG, issue a NOLOG command.
Output Displayed
The LOG command copies the records to the destination file in the same format used by the LIST
command.
Examples
Suppose you are examining the entry-sequenced file $SYSTEM.SANFRAN.RDFLOG from within
an RDFSCAN session on the primary node \SANFRAN and that your default volume and
subvolume are $SYSTEM and SANFRAN, respectively. To copy all records that you examine
with the LIST command to the file named $SYSTEM.SANFRAN.ECHO, enter LOG ECHO in
response to the RDFSCAN prompt, interacting with RDFSCAN in this way:
.
.
.
Enter the next RDFSCAN function you want: LOG ECHO
Logfile opened.
File: $SYSTEM.SANFRAN.RDFLOG, current record: 9454,
last record: 9466
Enter the next RDFSCAN function you want: LIST 100
.
.
.
MATCH
The MATCH command specifies a pattern to search for in the file. RDFSCAN searches for the
specified character string without regard for uppercase or lowercase.
MATCH text
text
specifies a match pattern.
Usage Guidelines
The match pattern you specify in the MATCH command is used in searches subsequently
conducted by the LIST and SCAN commands. Pattern matching is disabled until you enter a
MATCH command.
RDFSCAN Commands
267
Содержание NonStop RDF
Страница 68: ...68 ...
Страница 186: ...186 ...
Страница 260: ...260 ...
Страница 278: ...278 ...
Страница 284: ...284 ...
Страница 290: ...290 ...
Страница 308: ...308 ...
Страница 322: ...322 ...
Страница 336: ...336 ...
Страница 348: ...348 ...
Страница 464: ...464 ...
Страница 478: ......