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.

  1. From the Node menu, select Run Task.
  2. Type DELFILE as the label for the Run Task step.
  3. Type Microsoft Windows as the name of the program that executes the command.
  4. Type sysopts=cmd(del c:\data\out\invoice1.dat) as the command to execute if the copy step is successful.
  5. Click OK.