Run a Job on the z/OS Node from a Process Submitted on the HP NonStop Node

In this Process submitted from the HP NonStop node, STEP1 will execute FUP to purge $B.FILERESO.STEST. STEP2 will copy DATA1.SMALLER from the z/OS node to $B.FILERESO.STEST at the HP NonStop node. Conditional logic (STEP3) is then used to check the completion code of STEP1. If the completion code is greater than 4, no further processing will occur. Otherwise STEP4 will execute DATA1.CNTL(IEFBR14A) at the z/OS node.

The Connect:Direct® for HP NonStop system cannot execute the RUN JOB statement; however, the Connect:Direct for HP NonStop node as the PNODE can submit a Process to an z/OS or VSE node, and the SNODE can execute the RUN JOB.

RUN    PROCESS      PNODE=CD.HP NONSTOP           -
                    SNODE=SS.CD.OS390
STEP1  RUN TASK    (PGM=FUP                       -
                    PARM= (’/OUT $S.#STEST/’,     -
                           ’VOLUME $B.FILERESO’,  -
                           ’PURGE STEST  ’))
STEP2  COPY  FROM  (DSN=DATA1.SMALLER SNODE       -
                    DISP=SHR)                     -
             TO    (DSN=$B.FILERESO.STEST  PNODE  -
                    DISP=NEW)
STEP   IF  (STEP1 GT 4)  THEN
            EXIT
       EIF
STEP4  RUN JOB  (DSN=DATA1.CNTL(IEFBR14A)) SNODE