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
If input text contains an "&" symbol, you can see the generated "&'FOO TSYS'."
symbol name.
If input text does not contain a valid symbol name, not contains a "&"
character, the result is NULL,
Regards
Bruce
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN