z/OS MVS JCL Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example of the //*ROUTE XEQ statement

z/OS MVS JCL Reference
SA23-1385-00

//JOBN1   JOB   options ...
//*ROUTE  XEQ   2
//JOBN2   JOB   options ...
//STEP1   EXEC  PGM=REPORTER
//DD1     DD    SYSOUT=A,DEST=N1R33
//DD2     DD    SYSOUT=A,DEST=N2R33
//DD3     DD    SYSOUT=B,DEST=R33
//DDIN    DD    *
          .
          .
          data
          .
/*

In this example, JOB statement JOBN1 is entered through the JES3 system at node 1. The //*ROUTE XEQ statement tells JES3 to send the following input stream to node 2. Transmission of the input stream is stopped by the /* delimiter statement. JOB statement JOBN2 and all following statements until the delimiter are read and executed by the system at node 2.

The sysout data sets are sent to two work stations:
  • Sysout data set DD1 is produced at work station 33 attached to node 1.
  • Sysout data set DD2 is produced at work station 33 attached to node 2.
  • Sysout data set DD3 is produced at work station 33 attached to node 1. Because no node is specified, the originating node is assumed.
Figure 1. Example //*ROUTE XEQ statementExample //*ROUTE XEQ statement

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014