To safely process a PDS member, use the SPFEDIT ENQ and RESERVE. Doc at:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ispzpc90/APPENDIX1.1.2
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ispzpc90/APPENDIX1.1.3

This is only safe if all programs follow the same rules. In SAS/C, we
supply an open parm (share=ispf) to accomplish this.


Peter Relson wrote:
> 
> It is not necessary have a data set ENQ'd exclusive to delete a member, as
> evidenced by such functions as ISPF 3.1
> 
> There is a protocol for deleting members that applications such as ISPF
> use. I'm not positive just what that protocol is,  but it does not involve
> getting the data set ENQ exclusive.
> 
> On the other hand, FWIW, anyone who compresses using IEBCOPY with the data
> set allocated DISP=SHR (not an exclusive ENQ) as opposed to DISP=OLD is
> asking for trouble (and in many cases will indeed find trouble).
> 
> Peter Relson
> z/OS Core Technology Design
-- 
Don Poitras - zSeries R & D  -  SAS Institute Inc. -  SAS Campus Drive 
mailto:[email protected]   (919)531-5637  Fax:677-4444     Cary, NC 27513

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

Reply via email to