Connect:Direct for VSE Run Task Statement

The RUN TASK statement attaches user programs or subtasks during Process execution. When a IBM® Connect:Direct® Process issues a RUN TASK statement, the IBM Connect:Direct Process waits until the subtask finishes before executing the next IBM Connect:Direct Process step.

You can pass a list of user parameters to the subtask from the RUN TASK statement. The RUN TASK statistics log records the return code of the subtask, program name, parameter list, and dates and times for starting and completing the subtask.

The subtask can be attached at either the PNODE or SNODE. The subtask must reside in a load library that can be accessed by the IBM Connect:Direct DTF.

Refer toThe following is the Connect:Direct for VSE Run Task statement format. Refer to Sterling Connect for VSE/ESA Process Parameters for more information.

Label Statement Parameters
stepname RUN TASK (
    PARM=(parameter [,parameter,...])