NonStop SQL/MP Reference Manual

Table Of Contents
NonStop SQL/MP Reference Manual142115
F-1
F
FC Command
FC is an SQLCI command with which you can retrieve, edit, and reexecute a command
in the history buffer. See HISTORY Command
on page H-4 for more information.
text
specifies the most recent version of a command in the history buffer. The command
must begin with the text that you specify; you need only the characters necessary to
identify the command. The text can be in uppercase or lowercase characters.
number
is a positive integer that refers to the ordinal number of a command in the history
buffer.
-number
is a negative number that indicates the position of a command in the history buffer
relative to the current command entered.
Considerations—FC
To retrieve the last statement or command entered, you can enter FC without
specifying text or a number.
The IN file must be a terminal or a process. If you put more than one statement or
command on an input line, FC must be last.
The command you specify with FC is displayed one line at a time. As each line
appears, you can modify it by entering the following editing commands:
FC [ text ] [ ; ]
[ number ]
[ -number ]
D Deletes the character immediately above the D. Repeat to delete more
characters.
I characters Inserts characters in front of the existing character that is immediately
above the I.
R characters Replaces existing characters with the specified characters one-for-
one, beginning with the character immediately above the R.
characters (Must begin with a nonblank character) replaces existing characters
with the specified characters one-for-one, beginning with the
character immediately above the first character specified.