Edward Jaffe wrote:
>> DEL SYS1.PDSE
>> ALLOCATE SYS1.PDSE

Old habits die hard... I thought that the whole purpose of PDSE's was low 
maintenance... No more IEBCOPY compress jobs, No more delete/re-alloc jobs ? If 
this thing(not a sand fairy but a PDSE) is happy to continue forever without 
compression etc... why reverting to the old methods... Download the CBT and be 
content... Less fragmentation on the disk if you aren't continuously deleting 
and reallocating...

Herbie


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of R.S.
Sent: 08 Januarie 2008 12:15 nm
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


--
BRE Bank SA
ul. Senatorska 18
00-950 Warszawa
www.brebank.pl

Sd Rejonowy dla m. st. Warszawy 
XII Wydzia Gospodarczy Krajowego Rejestru Sdowego, 
nr rejestru przedsibiorców KRS 0000025237
NIP: 526-021-50-88
Wedug stanu na dzie 01.01.2007 r. kapita zakadowy BRE Banku SA (w caoci 
opacony) wynosi 118.064.140 z. W zwizku z realizacj warunkowego 
podwyszenia kapitau zakadowego, na podstawie uchwa XVI WZ z dnia 21.05.2003 
r., kapita zakadowy BRE Banku SA moe ulec podwyszeniu do kwoty 118.760.528 
z. Akcje w podwyszonym kapitale zakadowym bd w caoci opacone.

----------------------------------------------------------------------
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
Elavon Financial Services Limited
Registered in Ireland: Number 418442
Registered Office: Block E, 1st Floor, Cherrywood Business Park, Loughlinstown, 
Co. Dublin, Ireland
Directors: Robert Abele (USA), John Collins,  Terrance Dolan (USA),  Pamela 
Joseph (USA), Declan Lynch, John McNally, Malcolm Towlson
Elavon Financial Services Limited, trading as Elavon, is regulated by the 
Financial Regulator

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