On 2015-07-29, at 08:13, Staller, Allan wrote:
> Better yet, copy PDS to PDSE and define a dataset alias....
>
But be careful:
o Don't you need at least to uncatalog the PDS to define the alias?
Can this be done while an ENQ exists? I suspect, yes.
o Initiator ENQ works differently, perhaps poorly, with aliases:
- At job initiation the system obtains an ENQ on the ALIAS name.
- At step initiation the system attempts to ENQ on the RELATED
name. If this fails the system terminates the job rather than
waiting for a DEQ.
I believe that DEFINE ALIAS and DELETE ALIAS use no ENQ; neither on
the ALIAS name nor on the RELATED name. (Empirical.)
And, if you have an existing alias to the PDS, you're SOL.
You can't define an alias of an alias. Stupid rule!
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN