Allocation doesn't do an OPEN. But why call an SVC 99 interface to allocate a 
ddname that you plan to never OPEN?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of 
Paul Gilmartin [[email protected]]
Sent: Monday, April 13, 2020 3:27 PM
To: [email protected]
Subject: Re: Any shop use UNIX in a production job?

On Mon, 13 Apr 2020 17:53:46 +0000, Seymour J Metz wrote:

>It's BPX[WDYN] because it was written for the benefit of Unix users, although 
>in practice it's used a lot outside of Unix. There is no dub.
>
>OTOH, if you allocate a path then you probably will want to open it, and that 
>will cause dubbing.
>
I believe ALLOCATE PATH= causes momentary open() to validate, then
close() of PATH.  This can cause unexpected behavior when:
o PATHMODE=O_EXCL.
o The characteristics of PATH or process (e.g. umask) change between
  allocation and explicit OPEN.

Must something be dubbed (then undubbed?) for allocation to perform
that hidden open()?

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to