"The MVSVAR('SYMDEF',string) function goes through REXX substitution for string
first, the result of which must be a 1-8 character symbolic-name specifying the
symbol that has been defined in the SYMDEF statement. Any other values
including REXX delimiters might cause unpredictable results."
--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of
Bruce Hewson [[email protected]]
Sent: Wednesday, March 25, 2020 5:43 AM
To: [email protected]
Subject: REXX MVSVAR SYMDEF behavoiur
Hi,
In a REXX exec I was building I stumbled onto:-
Say 'MVSVAR'("SYMDEF",'testing &sysname in &sysplex')
which provides an unexpected result
&'TESTING SYSA IN PLEX01'.
The symbols &SYSNAME and &SYSPLEX were replaced.
And, sadly, the whole lot was uppercased.
Couldn't find this behaviour documented.
Regards
Bruce
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN