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

This example is submitted on z/OS to run a job on i5/OS. DSN is necessary when submitting from z/OS. The contents of the SYSOPTS parameter define the program to run on the i5/OS node.

RJPROC01  PROCESS   SNODE=CD2200                -
                    SNODEID=(USER1,PASSWD1)
STEP0001  RUN JOB  (DSN=AS400)  SNODE           -
                    SYSOPTS=\"\                 -
                            \CMD(\              -
                            \CALL\              -
                            \PGM(KRM/KJOBTST)\  -
                            \)\                 -
                            \"\