On Thu, 3 Jul 2008 11:10:45 -0400, Jack Kelly wrote:
>
>That's the part that I missed or missed that thread. I assumed that if the
>dsn was able to be renamed in step 2, it wasn't used in further steps.
>This is what I attempted to imply with 'with catalog as the disposition'.
>Obviously I didn't do too well.
>
You and J R both hint at an interesting question.  If I have:

    //STEP1
    //SYSUT2  DD  DISP=NEW,DSN=OLD.NAME

    //STEP2   EXEC PGM=IDCAML
      ALTER OLD.NAME NEW.NAME

    //STEP3
    //SYSUT2  DD  DISP=SHR,DSN=NEW.NAME

... Will the ENQ be SHR in STEP3, or will IDCAMS upgrade the SHR
ENQ issued by the initiator to EXC in order to perform the rename?
My only direct experience is that DEFINE/DELETE ALIAS requires no
ENQ on the alias name; I nave no information on the related name.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to