Submit a Process with Symbolics on VSE

This example shows using SUBMIT with the DSN parameter. Symbolics for PROCESS2 are supplied by the operator submitting PROCESS1.

The operator at the PNODE issues the following SUBMIT PROCESS command to initiate the file transfer:

SUB   PROC=PROCESS1                     -
      &DSN1=A345.DATA                   -
      &DSN2=A345.NEW.DATA

PROCESS1 executes:

PROCESS1  PROCESS      PNODE=CD.LA  SNODE=CD.DALLAS  -
                       &DSN1=&DSN1                   -
                       &DSN2=&DSN2                   -
                       &PRTY=14
COPYSTEP  COPY  FROM  (DSN=&DSN1 DISP=SHR PNODE)     -
                TO    (DSN=&DSN2 DISP=SHR SNODE)
SUBSTEP   SUBMIT  DSN=N(PROCESS2)                    -
                  PRTY=&PRTY                         -
                  SUBNODE=SNODE                      -
                  &DSN=&DSN2

PROCESS1 submits PROCESS2:

PROCESS2  PROCESS      PNODE=CD.DALLAS              -
                       SNODE=CD.NEWYORK
COPYSTEP  COPY  FROM  (DSN=&DSN2 PNODE)             -
                TO    (DSN=A345.NEW.DATA1 DISP=SHR)
  • PROCESS1 copies the file A345.DATA in LA to a file called A345.NEW.DATA in Dallas. It then submits PROCESS2, which executes on the Dallas node. PROCESS2 is submitted with a PRTY of 14.
  • PROCESS2 copies the file A345.NEW.DATA in Dallas to the file A345.NEW.DATA1 in New York.