SQL/MP Reference Manual
HP NonStop SQL/MP Reference Manual—523352-013
F-1
F
FC Command
FC is an SQLCI command with which you can retrieve, edit, and reexecute a command 
in the history buffer. For more information, see HISTORY Command on page H-5.
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 these 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-by-one, beginning with the character immediately 
above the R.










