Peter Relson wrote:

>>Compressing a data set in use is probably a bad idea.
>In general, I'd change "probably" to "definitely".  Of course there are times 
>when it works OK, but the dangers are real.

Agreed. 

>I've thought of having z/OS provide some customer-specifiable option that 
>would require DISP=OLD in order to compress a PDS to protect. Is that of 
>interest? It would default to current behavior (i.e., not require)

Good idea. IEBCOPY could check the COPY statements, then the DISP field and 
also the option before working on it.

But, will your idea work if you specify for IEBCOPY this:

 COPY OUTDD=B,INDD=(A,B,C,B) 

Dataset B will be compressed after A is copied to B and again after C was 
copied also to B?

Groete / Greetings
Elardus Engelbrecht

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

Reply via email to