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


Examples of the XMIT JCL statement

z/OS MVS JCL Reference
SA23-1385-00

Example 1
//JOBA   JOB   25FA64,'KEN KAHN'
//X1     XMIT  DEST=KGNMVS45
         .
         .
        (records to be transmitted)
         .
/*
//JOBB   JOB   ...
         .

In this example, the records between the XMIT JCL statement and the delimiter statement (/* in columns 1 and 2) are transmitted to the node named KGNMVS45.

Example 2
//JOBC   JOB  PW19,'DEPT 53'
//X2     XMIT DEST=POKVMDD3.MVSGST34,DLM=AA
         .
         .
/*
        (records to be transmitted)
/*EOF
/*DEL
         .
         .
AA
//JOBB   JOB   ...
         .

In this example, processing is not through an internal reader on the sending system. The records between the XMIT JCL statement and the delimiter statement, which must contain AA in columns 1 and 2 as specified in the DLM parameter, are transmitted to the system, MVSGST34, running on the VM system at the node named POKVMDD3.

Example 3 (JES3 only)
//JOBE   JOB   NS37,'NYC BX'
//X3     XMIT  DEST=SANFRAN,DLM=AA,SUBCHARS='/+'
         .
         .
        (records to be transmitted)
         .
         .
/+EOF
         .
         .
/+DEL
AA
//JOBF   JOB   ...
         .

In this example, the JCL is processed through an internal reader on the sending system. The records between the XMIT JCL statement and the delimiter statement, which must contain AA in columns 1 and 2 as specified in the DLM parameter, are transmitted to the node named SANFRAN.

To transmit the /*EOF and /*DEL internal reader control statements, /* is replaced by /+ in columns 1 and 2 on both statements in the XMIT JCL stream and SUBCHARS=‘/+’ is coded on the XMIT statement. The sending system does not recognize /+EOF and /+DEL as internal reader statements. Then prior to transmission, the sending system converts /+ to /* and sends /*EOF and /*DEL to the receiving node, which can then process the internal reader control statements.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014