On Wed, 9 Jul 2008 00:31:34 -0400, Robert A. Rosenberg wrote:
>
>Thinking outside the box, what happens if I define an ALIAS for the
>top level index (INDEX2 as an alias of INDEX1) or the full dataset
>name (INDEX.FILE2 as an alias of INDEX.FILE1) and try to access via
>the alias'ed name. Will it spot the duplicate usage or do the ENQ on
>the Alias'ed name and thus allow me o get away with it? Also, if I am
>
Empirically, the initiator ENQs on the alias name at the beginning
of the job, and attempts to allocate (thus ENQ) on the real name
at the beginning of the step.  If the latter does not succeed
immediately, it does not wait for it to become available, but fails
with a JCL error.

>                                                    ... Also, if I am
>APF authorized, I can allocate the dataset bypassing the ENQ and thus
>open it to use to write a duplicate/cloned copy which can then be
>scanned in lieu of the original.
>
Sounds like it's not Shmuel's dog.  OTOH, z/OS Unix files work great.

-- 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