IBM Workload Automation, Version 9.3

redo

Edits and reruns the previous command.

Syntax

{redo | red}

Context

When you run the redo command, conman displays the previous command, so that it can be edited and rerun. Use the spacebar to move the cursor under the character to be modified, and enter the following directives.
Directives
d[dir]
Deletes the character above the d. This can be followed by other directives.
itext
Inserts text before the character above the i.
rtext
Replaces one or more characters with text, beginning with the character above the r. Replace is implied if no other directive is entered.
>text
Appends text to the end of the line.
>d[dir | text]
Deletes characters at the end of the line. This can be followed by another directive or text.
>rtext
Replaces characters at the end of the line with text.
Directive Examples
ddd
Deletes the three characters above the ds.
iabc
Inserts abc before the character above the i.
rabc
Replaces the three characters, starting with the one above the r, with abc.
abc
Replaces the three characters above abc with abc.
d diabc
Deletes the character above the first d, skips one character, deletes the character above the second d, and inserts abc in its place.
>abc
Appends abc to the end of the line.
>ddabc
Deletes the last two characters in the line, and inserts abc in their place.
>rabc
Replaces the last three characters in the line with abc.

Examples

To insert a character, run the following command:
redo 
setsm 4 
    iy 
setsym 4
To replace a character, run the following command:
redo 
setsym 4 
       5 
setsym 5