The Run Task statement calls external programs to run on a Sterling Connect:Direct® node. The Process waits until the external program completes before continuing. When the external program completes, the Run Task returns a completion code that indicates program success. This completion code can be used by subsequent Process conditional statements (see Creating Conditional Statements).
You can pass parameters to the external program as Run Task statement SYSOPTS.
The following are items to remember when writing programs called by Run Task statements: