HP System Dictionary/XL COBOL Definition Extractor (32257-90001)

2- 25
Description
To modify the REDO command, use the subcommands just described. If you enter any character other
than a valid subcommand, that character and the following characters are interpreted as replacement
characters and they replace the characters above them in the command. For example, if you type TYPE
below a set of characters, the word TYPE replaces the four characters in the command line above.
Once you issue the REDO command, you are placed in edit mode and the first line of the command is
displayed for modification. If the line you want to edit is the second line of the command, rather than the
first, the + subcommand can move the cursor forward to the desired line. The - subcommand can move the
cursor backward to a previous line. The + or - subcommands can also be followed by a number, allowing
the cursor to move forward or backward more than one line at a time.
Example
The following example corrects the typographical error for the word "scope" (which is misspelled "scopee" )
and then executes the corrected command.
B Breaks the line into two lines, moving the character that is above the cursor and all follow-
ing 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 cur-
sor. 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 redisplays the line you are
currently editing.
R Replaces the characters above the cursor with the new characters you enter. The first char-
acter to be replaced is the one above the R.
X Executes the current command as it has been edited.
+n Places the cursor on the next line of the command you are editing. You can enter + fol-
lowed by a number n, for the number of lines you want to skip forward. If you do not
enter a number, the default is to move forward one line.
-n Places the cursor on the previous line of the command you are editing. You can enter - fol-
lowed by a number n, for the number of lines you want to skip backward. If you do not
enter a number, the default is to is to move backward one line.
[[RETURN]] Places the cursor on the next line of the command you are editing. If you are on the last
line, the command executes as it has been edited.
SUBCOMMAND DESCRIPTION