Submit a Job to the z/OS Internal Reader

You can submit a RUN JOB Process from either the SNODE or the PNODE. If you specify PNODE on the RUN JOB, the job is submitted to the primary node; if you specify SNODE, the job is submitted to the secondary node. In both cases, the job is submitted to the internal reader if both nodes are running Connect:Direct® for z/OS®.

The node that you submit the Process to is the PNODE or Process control node by definition; the other node involved in the Process is the SNODE.

In the following example, the Process, PROC1, is submitted from the PNODE, CDA. PROC1 then instructs the SNODE, CDB, to execute the job titled JOB123 in the library JOB.STREAM.LIB. The job is submitted to the z/OS internal reader on CDB.

The data set specified in the RUN JOB statement must exist on CDB.

PROC1   PROCESS   SNODE=CDB
STEP01  RUN JOB  (DSN=JOB.STREAM.LIB(JOB123) SNODE)

Alternatively, you can be signed on to CDA and submit the following RUN JOB Process from CDA. In this case, the data set specified in the RUN JOB must exist on CDA (PNODE).

In this example, the job contained in JOB.STREAM.LIB(JOB123) is submitted to the z/OS internal reader on the PNODE system.

PROC1   PROCESS   SNODE=CDB
STEP01  RUN JOB  (DSN=JOB.STREAM.LIB(JOB123) PNODE)

The JCL must exist on the node where you want it to execute.