On Wednesday 22 February 2006 12:29, Thomas Conley wrote:
>
>> I have dug high and low and have not been able to find a way to empty
>> a PDS that meets the following requirements:
>> 1) Executes in batch
>> 2) Provided and ***supported*** by IBM (not CBT, not DIY rexx code,
>> not requiring SAS/PDSMAN/PDSFAST/etc...)
>>
>> Am I missing something totally obvious? If so, how is it done?
>> If there is in fact no such capability, can anyone explain why on
>> Earth that might be?
>> Would it be that hard to add the capability to IEBCOPY say?
> 
> The only IBM-supported method to empty a PDS is to delete it
> and reallocate it.

IBM provides the I option of the STOW macro to reset a PDS or PDSE.  
STOW-I only supported PDSEs originally, but it now supports PDSes as 
well.  The problem is that it only works with DISP=OLD.

Yes, it would be GREAT if IEBCOPY supported MOVE and RESET options in 
addition to simple COPY.  Because I use MOVE and RESET functions a lot, 
I wrote my own IEBCOPY replacement almost 20 years ago.

-- 

 Gilbert Saint-Flour
 GSF Software
 http://gsf-soft.com/
 mailto:[EMAIL PROTECTED]

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