HCL Workload Automation, Version 9.4

redo

Edits and runs the previous command again.
Note: If the previous command was authenticate, redo does not display the password specified.

Authorization

Any user authorized to run composer is authorized to issue this command.

Syntax

{redo | red}

Context

When you run the redo command, composer displays the previous command, so that it can be edited and run again. 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 
dislay site1#sa@
   ip
display site1#sa@
To replace three characters, for example change site into serv by replacing ite with erv, run the following command:
redo
display site1#sa@
         rerv
display serv1#sa@