Hello
I am trying the following Rexx :
TRACE R
STGGrp = 'P2WA'
CNT_P2WA = 11
Interpret "IF CNT_"StgGrp" > 10 THEN" ,
"SAY CNT_"StgGrp /* <<< FUNCTIONS *OK */
Interpret "IF CNT_"StgGrp" > 10 THEN" , /* <<< FUNCTIONS NOT */
"DO" ,
"SAY CNT_"STgGrp " "
"END"
First Interpret works OK (no DO-END)
2nd. does not work. I already a few variations but nothing helped.
Anyone know how to do this ???
THanks
I am trying the following Rexx :
TRACE R
STGGrp = 'P2WA'
CNT_P2WA = 11
Interpret "IF CNT_"StgGrp" > 10 THEN" ,
"SAY CNT_"StgGrp /* <<< FUNCTIONS *OK */
Interpret "IF CNT_"StgGrp" > 10 THEN" , /* <<< FUNCTIONS NOT */
"DO" ,
"SAY CNT_"STgGrp " "
"END"
First Interpret works OK (no DO-END)
2nd. does not work. I already a few variations but nothing helped.
Anyone know how to do this ???
THanks