REDO [ DBChange Plus User's Guide ] MPE/iX 5.0 Documentation
DBChange Plus User's Guide
REDO
Allows a user to correct or modify the last DBChange command entered.
Syntax
R[EDO]
Description
Use this command to display the last DBChange 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. A warning is issued if REDO is used in batch
mode.
Subcommands
D deletes the character above the cursor. If D is
repeated, each character above each D is deleted.
The D and I subcommands can be used in conjunction,
to delete characters and then insert new characters.
H lists all the valid editing subcommands.
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.
L lists the current command as it is currently edited.
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 on for additional characters. R is
the default subcommand and is only required when the
first character to be replaced is a D, H, I, L, R, U,
or X.
U restores the line being corrected to its original
form.
X executes the edited version of a command (same as a
carriage return).
Example
>print shcema <---- Incorrect command is entered
Invalid command (DBC 508).
>redo <---- Request to REDO command
print shcema <---- Command is displayed for corrections
rch <---- Error is deleted and replaced by correction
print schema <---- Corrected command is displayed
In this example, the PRINT SCHEMA command is corrected using the R
subcommand.
MPE/iX 5.0 Documentation