NetBatch Manual
Commands
NetBatch Manual—522460-004
6-93
FC Command
text
is a character string identifying the latest line in the history buffer beginning with
the string.
Considerations
•
The FC command is available to all users.
•
If no line in the history buffer matches your specification, this message appears:
0541-I No such line
•
Entering FC with no parameter retrieves the latest line from the history buffer (FC
is the same as FC -1).
•
The FC command displays the specified line with a period prompt (.) below it. The
blank line at the prompt is an editing template in which you enter subcommands to
edit the line. (The template and subcommands are the same as those from the
TACL FC command.) The syntax of the template is:
subcommand
is any of these:
{R replacement-text
I insertion-text
D replacement-text }
For information about using the editing template and its subcommands, see the
description of the FC command in the TACL Reference Manual.
•
When the FC command retrieves a multiline command, it initially displays only the
first line of that command. Press RETURN to display the second line, then again
for the third line, and so on. (BATCHCOM prefixes the second and later lines with
double-braces prompts.) To escape from FC command mode without displaying all
retrieved lines, press CTRL/Y.
•
BATCHCOM stores all commands in its history buffer except CHANGEUSER,
COMMENT, and HISTORY.
Examples
•
These four examples show the FC command retrieving various lines from the
history buffer. They also show editing of the lines and execution of the resulting
commands. The examples relate to these commands in the buffer:
3} INFO CLASS *
4} ADD CLASS DEFAULT, INITIATION OFF
5} STATUS EXECUTOR *
6} ALTER EXECUTOR EXEC-01, CLASS (DEFAULT, ADMIN, SALES)
subcommand [ // subcommand ]…