REDO [ HP IMAGE/SQL Administration Guide ] MPE/iX 5.0 Documentation
HP IMAGE/SQL Administration Guide
REDO
Allows a user to correct or modify the last IMAGE/SQL utility command.
Syntax
REDO
Prerequisites
None.
Description
Use this command to display the last IMAGE/SQL utility command entered.
Use the associated subcommands to correct or change the displayed
command. The REDO command applies only to the last command entered and
is available only in interactive mode. It is ignored with a warning in
batch mode.
Subcommands
D deletes the character above the cursor. If D is repeated, each
character above each D is deleted.
I inserts one or more characters immediately preceding the
character above the cursor. The D and I subcommands can be used
in conjunction to delete characters and then insert new
characters.
R replaces the characters above the cursor with new characters. If
one character is entered, the character above the cursor is
replaced; if two characters are entered, two characters (the
character above the cursor and the character to the right) are
replaced; and so forth for additional characters. R is the
default subcommand and is only required when the character to be
replaced is a D, I, R, or U.
U undoes the effect of the previous D, I, or R subcommand.
Entering a U, carriage return, then another U cancels all
previous subcommands for this REDO command and restores the line
being corrected to its original form.
Once the command is corrected, enter a carriage return to issue the
command.
Example
In the following example, the DISPLAY MAP command is corrected using the
R subcommand.
______________________________________________________________
| |
| >>DISPLAY MPA <== incorrect command entered |
| |
| DISPLAY MPA |
| ^ |
| Syntax Error (ATCERR 32435). |
| >>REDO <== request to REDO command |
| DISPLAY MPA <== command displayed for corrections|
| RAP <== error replaced by correction |
| DISPLAY MAP <== corrected command displayed |
______________________________________________________________
MPE/iX 5.0 Documentation