Run Job on OpenVMS

In this example, the RUN JOB statement specifies that RJOB.COM executes on the PNODE. During Process execution, two parameters (P1 and P2) are passed to the command procedure. The LOG subparameter specifies that the file RJOB.LOG is created. It is not printed or deleted because NOPRINT is specified; KEEP is assumed.

RUNJ4  PROCESS   PNODE=CD.VAX
STEP1  RUN JOB  (DSN=$DISK1:[CD_20.PROCESS]RJOB.COM PNODE)
                 SYSOPTS=“P1=‘CD_20’ P2=‘1-JAN-1995’ NOPRINT
                 LOG=‘$DISK1:[CD_20.LOG]RJOB.LOG’”