Yes you can.
<snip>
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.
</snip>
Once *EVERYTHING" has moved to the alias, the original dataset can be deleted
and the process repeated in the other direction.
This make take several (days, weeks, months,....) depending on the
installations policies and procedures.
<snip>
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.
</snip>
Merely re-point the existing alias to the new dataset. No problem here.
<snip>
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!
</snip>
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN