VSE Run Task Statement

This example RUN TASK statement runs the program named MYTASK. It is attached to the Process on the secondary node (SNODE) and is passed a list of three parameter addresses.

STEP1  RUN TASK  (PGM=MYTASK                  -
                  PARM=(CL44’DATA.BASE.P1’,   -
                        F’0010’, XL8’FFA8’))  -
                  SNODE

The following figure shows the parameter passing convention for the program MYTASK. In this case, Register 1 points to a parameter list of three parameters. It would contain 0 if no parameters were specified. IBM® Connect:Direct® sets the high-order bit in PARM 3 ADDR to indicate the end of the PARM list.