Radoslaw, I agree, the user needs sufficient authority to perform their job function, no less, and absolutely no more. If the job requires that the user be able to re-init a PDS(/E), but other than that they have no need to delete/define, then I would say give them UPDATE on the dataset, make it a PDS/E, so COMPRESS is no longer an issue. The reason's that I don't like ALTER when not necessary - For a generic profile, they have ALTER auth on more than just this one dataset. For a discrete profile, they would have the ability to issue the ALTDSD command against the profile.
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 R.S. Sent: Tuesday, January 08, 2008 6:15 AM To: [email protected] Subject: Re: Purge all members from a PDSE Edward Jaffe wrote: > 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. ENQ is the reason. I get it. However IMHO reallocation risk is not a risk in well managed environment. I absolutely disagree with Wayne's point about UPDATE. User should have sufficient authorities. What would you do with READ access? I would ask for more. UPDATE is insufficient to compress PDS. Should I search for another method of compress or simly request for ALTER? My $0.02 BTW: I would suggest looking at Smart DFSORT Tricks. AFAIR it contains trick for deleteting all members using DFSORT and IDCAMS. -- Radoslaw Skorupka Lodz, Poland -- ---------------------------------------------------------------------- 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

