Submit a Process Using Symbolics on VMESA

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 IBM® Connect:Direct® SUBMIT PROCESS command to initiate the file transfer:

SUB   PROC=PROCESS1          -
      &DSN1=‘TEST FILE’      -
      &DSN2=‘TEST FILE2’

In the following Process, CD.LA and CD.DALLAS are Connect:Direct for VM/ESA nodes.

PROCESS1  PROCESS      PNODE=CD.LA  SNODE=CD.DALLAS  -
                       &DSN1=&DSN1                   -
                       &DSN2=&DSN2                   -
                       &PRTY=14                      -
                       NOTIFY=A345
COPYSTEP  COPY  FROM  (DSN=&DSN1 DISP=SHR PNODE      -
                       LINK=(USER1,READ,RR,191))     -
                TO    (DSN=&DSN2 DISP=SHR SNODE      -
                       LINK=(USER2,WRITE,W,191))
SUBSTEP   SUBMIT  DSN=A345.PROCESS.LIB(PROCESS2)     -
                  PRTY=&PRTY                         -
                  SUBNODE=SNODE                      -
                  &DSN=&DSN2

PROCESS1 submits PROCESS2, where CD.DALLAS is a Connect:Direct for VM/ESA node and CD.NEWYORK is a Connect:Direct for z/OS® node.

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