Saturday, 10 August 2013

JCL XMIT Data Transmission Statements.

The XMIT statement send a job or data strem to another JES or non-JES node. The job is only not executed. Normally XMIT is used to send data to other node.
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 card images
  • If the records are being read from an internal reader, the internal reader is closed
/*XMIT  {Nnnnn              }     [ DLM=xx]                            
           {nodename           }                                        
           {nodename.userid    }                                        
           {nodename:userid    }                                        
           {nodename/userid    }                                        
           {nodename(userid)   }                                        
           {nodename.vmguestid }                                        
           {nodename:vmguestid }                                        
           {nodename/vmguestid }                                        
           {name               }  
The /*XMIT statement consists of the characters /* in columns 1 and 2, XMIT in columns 3 through 6, a blank in column 7, a nodename or node-number starting in any column starting with 8, and optionally followed, with an intervening blank, by a delimiter parameter. Do not continue an /*XMIT statement.  
Example : 1
//RU0001T JOB (00034),’RC’,CLASS=A,
JES2 /*XMIT node-name,DLM=XX
JCL // XMIT DEST=node-name,DLM=XX,SUBCHARS=YY only in JES3
Lines if data

The Parameter are as follows : 
  •  Node-name : names the node to which data need to be sent.
  • DLM=XX : is optional and changes the delimiter character from /* to two character you specify.
  • SUBCHARS= YY : is also optional and specifies replacement characters to be used for the first two character of any /*EOF or /*DEL internal reader control statement that are transmitted as lines of data so that they will not be executed.

Created with Artisteer

No comments:

Post a Comment