ARG not working in Edit Macro
Posted: Fri Dec 30, 2022 2:57 am
I'm trying to get an Edit Macro to accept ARG...Edit Macro is manually entered by user from within an active REXX.
Rexx invokes ISPEXEC View session of a PDS member
User enters Edit Macro "GENCHK x" (where x = a line # within the PDS member)
Edit Macro doesn't accept ARG 'x'
/* REXX */
ADDRESS ISREDIT
"MACRO"
ARG RSTRSTEP
SAY RSTRSTEP
EXIT
(EXIT added just for testing ARG)...RSTRSTEP is blanks
Rexx invokes ISPEXEC View session of a PDS member
User enters Edit Macro "GENCHK x" (where x = a line # within the PDS member)
Edit Macro doesn't accept ARG 'x'
/* REXX */
ADDRESS ISREDIT
"MACRO"
ARG RSTRSTEP
SAY RSTRSTEP
EXIT
(EXIT added just for testing ARG)...RSTRSTEP is blanks