The JCL member submitted to MFBSIJCL may contain parameters that are substituted before submission to Enterprise Server/MSS.
The ParameterName/ParameterValue pair capability is provided in the MFBSIJCL command line, but can also be specified in a parameter file or as operating system environment variables. MFBSIJCL may also automatically handle system parameters like DATE, DAY, or WEEK. For example, for the JCL member MYJCL.jcl:
//MFIDPS01 JOB 'MFIDPS',CLASS=A,MSGCLASS=A //STEP1 EXEC PGM=IEFBR14 //SYSOUT DD SYSOUT=* //SYSPRINT DD SYSOUT=* //DD1 DD DSN=%%HLQ.TEST.DSN,DISP=(MOD,DELETE) //SYSIN DD * DATE : %%DATE /* //
When submitted by MFBSIJCL (on 22 December 2013) using the command line parameters:
mfbsijcl MYJCL PARMS HLQ=MFIDPS [END-PARMS]
results in this JCL submitted to Enterprise Server/MSS
//MFIDPS01 JOB 'MFIDPS',CLASS=A,MSGCLASS=A //STEP1 EXEC PGM=IEFBR14 //SYSOUT DD SYSOUT=* //SYSPRINT DD SYSOUT=* //DD1 DD DSN=MFIDPS.TEST.DSN,DISP=(MOD,DELETE) //SYSIN DD * DATE : 131222 /* //