On Tue, 30 Aug 2016 19:07:09 -0500, Tom Marchant wrote: >Perhaps even better, and to satisfy Gil's requirement, define a system symbol, >perhaps &NULL, with a substitution value that is null, and use that with >SYMBOLICRELATE to SYS1.FOOBAR&NULL > >or some such. I suspect that you don't even have to define the system symbol, >that if &NULL is not defined, you will get the same result, but I can't test >until >tomorrow.
I was wrong about not needing to define the alias. If the symbol is not defined, there is no substitution, and the data set name remains unchanged as SYS1.FOOBAR&NULL. And now I wonder. What happens if you specify SYMBOLICRELATE(SYS1.FOOBAR) on the DEFILE ALIAS? The book doesn't say that you have to specify symbols to be substituted, only that you can. As it happens, I had to get someone else to clean up after my last test, so I'm reluctant to try. -- Tom Marchant ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
