On Wed, 9 Aug 2023 13:47:41 +0000, Hayim Sokolsky  wrote:

>    ...
>  *   As an, DSN=&&&SYSUID can be used to cause substitution as if 
> DSN=&&userid was specified. (See below)
>    ...
>//SYSUT2   DD  SYSOUT=A,DSN=&&SYSUT2   = .SYSUT2
>
>//SYSUT1   DD  DATA,DSN=&&&SYSUID      = .IBMMAIN
>    ...

>  hello world!
>
>/*
>     ...
>WitI INPUT ON it shows as:
>    ...
>SYSUT1   IBMMAIN.IBMMAIN1.J0009213.D0000101.IBMMAIN
>
>SYSUT2   IBMMAIN.IBMMAIN1.J0009213.D0000103.SYSUT2
>
Interesting.  Is it because &SYSUID has a value as a symbol but &SYSUT2 has not?

What happens if you assign a value to &SYSUT2 as a system symbol, JCL symbol,
or PROC statement symbol, or substitute a symbol having a defined value?

I call an "undocumented trick" a bug which should be reported.

-- 
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to