REXX – SEND MULTIPLE ARGUMENTS THROUGH JCL
When you are running your REXX EXEC through BATCH, you can send multiple arguments through PARM. But if your arguments length exceeds 100 bytes, you cannot pass it through PARM. You can make use of below JCL to do the same where you pass your Arguments in the SYSTSIN DD name.
//STEP02 EXEC PGM=IKJEFT01
//SYSPROC DD DSN=YOUR.REXX.EXEC,DISP=SHR
//SYSTSPRT DD SYSOUT=A
//SYSTSIN DD *
Where READFILE is your EXEC and you can use below ARG command to get the above data into variables.
/** REXX **/
ARG FILE1 FILE2
Where FILE1 will hold YOUR.INPUT.FILE5 and FILE2 will hold YOUR.INPUT.FILE6.
In United States, If you would like to Earn Free Stocks, Credit card Points and Bank account Bonuses, Please visit My Finance Blog
You may also like to look at:
|Working on Mainframes – Is Change to a different technology necessary|