SYMSUB is a REXX routine that he wrote to pass the argument to 
MVSVAR('SYMDEF',*) and display or return the result.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of 
Jeremy Nicoll [[email protected]]
Sent: Saturday, March 28, 2020 1:46 PM
To: [email protected]
Subject: Re: REXX MVSVAR SYMDEF behavoiur

On Sat, 28 Mar 2020, at 04:28, Bruce Hewson wrote:
> Hi,
>
> examples using the code I posted.
>
> %SYMSUB   'testing &sysname in &sysplex'
> &'TESTING TSYS IN PLEX40'.
> READY
> %SYMSUB   'Foo'
>
> READY
> %SYMSUB   'Foo &sysname'
> &'FOO TSYS'.
> READY

What do

  %SYMSUB 'SYSNAME'

and

  %SYMSUB SYSNAME

do?    I don't have access to a machine to try this on.

--
Jeremy Nicoll - my opinions are my own.

----------------------------------------------------------------------
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

Reply via email to