Not to mention the fact that while a user may very well have authority
to UPDATE a PDS(/E), which is required to re-init the directory, that
same user may not have ALTER authority, which is required for
DELETE/DEFINE.   

Wayne Driscoll
Product Developer
JME Software LLC
NOTE:  All opinions are strictly my own.



-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Edward Jaffe
Sent: Monday, January 07, 2008 6:18 PM
To: [email protected]
Subject: Re: Purge all members from a PDSE

R.S. wrote:
> By command ?
>
> I'd suggest IDCAMS:
> DEL SYS1.PDSE
> ALLOCATE SYS1.PDSE
>
> Also works with PDSes.
> :-)

The problem with this or JCL re-allocation is the high potential for 
getting something wrong. Wrong attributes, wrong space, wrong placement,

etc., the inability to perform the function with an outstanding DISP=SHR

ENQ in effect, and the unfortunate effect on the data set creation date 
saved in the DSCB.

-- 
Edward E Jaffe
Phoenix Software International, Inc
5200 W Century Blvd, Suite 800
Los Angeles, CA 90045
310-338-0400 x318
[EMAIL PROTECTED]
http://www.phoenixsoftware.com/

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