SUBMIT= {"jcl.ibrary(member),symbolic parameters" | "member,symbolic parameters"}

By using this batch SYSIN parameter, you can submit a job on the remote system. This parameter is different from TRANS_TYPE=JOB in that the JCL to run actually sits on the remote system. This parameter is supported only when communicating with TIBCO MFT Platform Server z/OS. If you supply symbolic parameters with the job to be submitted, the entire string must be enclosed in double quotation marks.

Note: You must set the TRANS_TYPE parameter to COMMAND if this parameter is specified; otherwise, an error will occur and the transaction will not be queued.
You can submit this parameter in the following two ways:
  • By specifying the entire data set name in the SUBMIT parameter.
  • By specifying only the member name in the SUBMIT parameter. If this option is selected, you must define the GLOBAL JOB_SUBMIT_DSN parameter to define the name of the data set that contains the member to be submitted.

Symbolic parameters can be supplied in the SUBMIT parameter along with the member or data set name. Symbolic parameters must start with an ampersand (&). When the remote system is reading the JCL to be submitted, it scans the JCL for a match on the symbolic parameters defined. If a match is found, the data assigned to the symbolic parameter is substituted for the symbolic parameter in the JCL to be submitted. The symbolic parameters in the JCL must be delimited by one of the following characters for substitution to complete successfully: space, comma, equal sign (=), parenthesis plus comma plus parenthesis (, ) or period. If a period is found at the end of a parameter, the period is removed before the parameter substitution takes place.

For example, SUBMIT="TESTJCL,&FILE=TEST.FILE,&RFILE=PROD.FILE".

For example, SUBMIT="JCL.FILE(TESTJCL),&FILE=TEST.FILE,&RFILE=PROD.FILE"

Based on the previous examples, if member TESTJCL contains the following statements:
//FUSJOB  JOB  
555,'TEST',MSGCLASS=X,REGION=5M,CLASS=A
//BR14     EXEC PGM=IEFBR14 
//DD1  DD  DSN=&FILE,DISP=SHR
//DD2  DD  DSN=&RFILE.,DISP=SHR
After data substitution, the data submitted into the internal reader is as follows:
//FUSJOB  JOB  
555,'TEST',MSGCLASS=X,REGION=5M,CLASS=A
//BR14     EXEC PGM=IEFBR14 
//DD1  DD  DSN=TEST.FILE,DISP=SHR
//DD2  DD  DSN=PROD.FILE,DISP=SHR