On Wed, 27 Feb 2019 13:58:30 +0000, Jousma, David wrote:

>You need to augment your PATHOPTS.  Try adding
>
>PATHOPTS=(OWRONLY,OCREAT,OEXCL)
>
(Long ago) I got "Permission denied" from SMP/E when I specified OWRONLY.
SR.  WAD.  Rationale was that SMP/E first opens *every* output data set for
INPUT to verify that it is not DSORG=PO with no member specified.

Likewise OEXCL can cause problems if a utility unwittingly opens a file more
than once.  I suspect that (perhaps for this reason) allocation 
ignores/suppresses
OEXCL.  I have been able to specify DD PATHOPTS=(...,OEXCL) and overwrite
a previously existing file.  I didn't attempt SR.

-- gil

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

Reply via email to