Submit a Process with a RUN TASK on OpenVMS from an OpenVMS Node

The following example shows a Process submitted from OpenVMS and executed on OpenVMS. The RUN TASK statement is coded with DCL commands that execute synchronously.

RTVMS   PROCESS     SNODE=CD.VMS.NODE1
STEP01  RUN TASK   (PGM=VMS) PNODE                                 -
                    SYSOPTS="OUTPUT=’DUC4:[JSMITH.TEST]RTLOG.LIS’  -
                    CMD=’SET DEFAULT DUC4:[JSMITH.TEST]’           -
                    CMD=’DIR’                                      -
                    CMD=’SHOW TIME’")