/*XMIT statement

Purpose: Use the /*XMIT statement to transmit records from a JES2 node to either another JES2 node or an eligible non-JES2 node, for example, a VM or JES3 node. JES2 does not process or check the records for JES2 validity. JES2 builds header and trailer records from information on the JOB statement immediately preceding the /*XMIT statement. Then JES2 transmits all records after the /*XMIT statement.

The records may consist of a job input stream or an in-stream DD * or DD DATA data set. If the records are in a job input stream and the destination node can process JCL (which means it is the ultimate node, not a store-and-forward node), the system will execute the transmitted input stream provided that: (a) the record immediately following the /*XMIT statement is a JOB statement valid at that node, and (b) the input stream consists only of the JCL and data for the one job headed by that JOB statement. The system will flush ALL jobs if an NJE (network job entry) receiver finds multiple JOB statements in the input stream.

The records end when JES2 finds one of the following:
  • /* in the input stream
  • The two-character delimiter specified by a DLM parameter on this /*XMIT statement
  • The input stream runs out of records.
  • If the records are being read from an internal reader, the internal reader is closed
Note: Do not specify this statement for a started task; if /*XMIT is specified, JES2 fails the job.