Submit a Process on OpenVMS

In this Process, STEP1 copies ACCT.VMSPROC to ACCTPROC.Sterling Connect:Direct in directory WORKDIR on device $DISK1 at the SNODE. STEP2 submits ACCTPROC.CD, which executes on the SNODE. The SNODE parameter specified in the SUBMIT statement overrides the value specified in the PROCESS statement.

PROC1   PROCESS     PNODE=CD.CA
                    SNODE=CD.ATLANTA
STEP1   COPY  FROM  (DSN=ACCT.VMSPROC
                    DISP=SHR
                    PNODE)
              TO    (DSN=$DISK1:[WORKDIR]ACCTPROC.CD
                    DISP=RPL
                    SNODE)
STEP2   SUBMIT      DSN=$DISK1:[WORKDIR]ACCTPROC.CD
                    SUBNODE=SNODE
                    SNODE=CD.CA