REDO Command [ HP SYSTEM DICTIONARY XL UTILITIES-Part 2 SDDBC ] MPE/iX 5.0 Documentation
HP SYSTEM DICTIONARY XL UTILITIES-Part 2 SDDBC
REDO Command
The REDO command allows you to correct errors or to make changes to the
last command you issued. When you issue the REDO command, you will enter
an editing mode and the first line of the command will be displayed for
modification.
To modify the command, position the cursor using the space bar, under the
character to be modified and enter one of the subcommands listed below.
SDDBC interprets any character other than the ones listed below as a
replacement character. For example, if you type "CAT" below a character,
since C is not a valid edit command, "CAT" will replace the three
characters on the line above.
Subcommand Description
A Appends one or more characters to the end of the current
line, regardless of the position of the command.
B Breaks the line into two lines, moving the character that
is above the cursor and all following characters to the
next line. The second line becomes the current edit line.
D Deletes the character above the D. If you repeat D, each
character above each D is deleted. You may also use a D
below the first and last character to be deleted with
spaces in between.
E Exits the REDO editing mode without executing the edited
command. The command that you were editing when you
entered E is still considered to be the last one.
H Lists all available editing sub-commands in redo mode.
Your current editing line is then redisplayed.
I Inserts one or more characters immediately preceding the
character that is above the cursor. You can combine a
DELETE and INSERT edit by using D's followed by an I and
the characters to be inserted.
L Lists the complete command as it is currently edited and
then redisplay the line you are currently editing.
R Replaces the characters above the cursor with the new
characters you enter. The first character to be replaced
is the one above the R.
X Executes the current command as it has been edited.
+n Places you on the next line of the command you are editing.
You can enter + followed by a number n, for the number of
lines you want to skip forward. If no number is entered,
the default is to move forward one line.
-n Places you on the previous line of the command you are
editing. You can enter followed by a number n, for the
number of lines you want to skip backward. If no number is
entered, the default is to is to move backward one line.
[[RETURN]] Places you on the next line of the command you are editing,
if you are not currently on the last line of the command.
If you are on the last line, executes the command as it has
been edited.
Example:
> DEFINE DICTIONARY=sysdic;
>> SCOPPE=manager;
>> PASSWORD=Mgr*;
>> OPEN-MODE=shared-update.
Invalid keyword SCOPPE was specified (SDERR xxxx)
> redo
>> DEFINE DICTIONARY=sysdic;
>> +
>> SCOPPE=manager;
>> d
>> SCOPE=manager;
>> x
>
MPE/iX 5.0 Documentation