I am trying to convert a Proc Symbolic to the Proc Override. For example:
the Proc contains: SYS=PP2
I store these values in my REXX as:
Symbolic = 'SYS'
Override = 'PP2'
The JCL contains:
DSN=&SYS..&CYCL&STMT&STRM.240.CDF.SORTED&GENOUT
My objective is to write a change command that will execute as:
CHANGE '&SYS.' 'PP2'
So that the statement reads:
DSN=PP2.&CYCL&STMT&STRM.240.CDF.SORTED&GENOUT
Below is an extract of code that does not work but, I hope, can convey what I'm trying to accomplish:
/*****REXX*****************
TRACE I
ISREDIT MACRO
OVRD = 'SYS'
SUBX = 'PP2'
'ISREDIT C .&'OVRD'.' SUBX
***************************
A trace seems to inicate that the ISREDIT command evaluates to:
"ISREDIT C .&SYS. PP2"
The actual effect in the edited proc is change a period '.' to PP2.
Thanks in advance for any assistance.
the Proc contains: SYS=PP2
I store these values in my REXX as:
Symbolic = 'SYS'
Override = 'PP2'
The JCL contains:
DSN=&SYS..&CYCL&STMT&STRM.240.CDF.SORTED&GENOUT
My objective is to write a change command that will execute as:
CHANGE '&SYS.' 'PP2'
So that the statement reads:
DSN=PP2.&CYCL&STMT&STRM.240.CDF.SORTED&GENOUT
Below is an extract of code that does not work but, I hope, can convey what I'm trying to accomplish:
/*****REXX*****************
TRACE I
ISREDIT MACRO
OVRD = 'SYS'
SUBX = 'PP2'
'ISREDIT C .&'OVRD'.' SUBX
***************************
A trace seems to inicate that the ISREDIT command evaluates to:
"ISREDIT C .&SYS. PP2"
The actual effect in the edited proc is change a period '.' to PP2.
Thanks in advance for any assistance.