Invoking REXX thru JCL passing variables
Posted: Thu May 04, 2017 1:50 am
Hi guys!
I have the following problem: I have a JCL which has 2 variables: &DB and &TS, which is passed by the PROC that calls it.
Now I need to call a REXX program, passing these variables &DB and &TS so the program will create a member with this information on it.
However, I do not know how to call the REXX, since the examples I found have the paramenter between quotes, and if I put something like
//STEP1 EXEC PGM=IRXJCL,PARM='MYEXEC &DB &TS'
it won't recognize &DB and &TS as variables, not replacing the text with the values itself.
Can anyone help me?
I have the following problem: I have a JCL which has 2 variables: &DB and &TS, which is passed by the PROC that calls it.
Now I need to call a REXX program, passing these variables &DB and &TS so the program will create a member with this information on it.
However, I do not know how to call the REXX, since the examples I found have the paramenter between quotes, and if I put something like
//STEP1 EXEC PGM=IRXJCL,PARM='MYEXEC &DB &TS'
it won't recognize &DB and &TS as variables, not replacing the text with the values itself.
Can anyone help me?