Adding a Run Task Statement
You can run programs and commands by adding the Run Task statement to a Process. The Run Task statement executes programs on the PNODE or the SNODE. In the example, the Run Task statement deletes the source file from the Microsoft Windows computer if the Copy step is successful. The Run Task statement must be added after the conditional If statement.
- From the Node menu, select Run Task.
- Type DELFILE as the label for the Run Task step.
- Type Microsoft Windows as the name of the program that executes the command.
- Type sysopts=cmd(del c:\data\out\invoice1.dat) as the command to execute if the copy step is successful.
- Click OK.