On Tue, 24 Feb 2009 15:57:05 +0000, Ted MacNEIL wrote:

>>I know about IDCAMS, but the user wants a pure JCL solution.
>
>Then the user is out of luck.
>The best that can happen is there's a WTOR, to ask if it's okay.
>And, I believe that's only if there is write activity to the dataset.
>I don't recall what happens with a delete.
>
>-

Try...

//SYSUT1   DD  DSN=<Your.DSN.Name>,
//             DISP=(MOD,DELETE,DELETE),
//             RETPD=,
//             UNIT=(SYSDA,,DEFER),
//             SPACE=(TRK,(0,0),RLSE)

You might be able to reassign the retention period with the MOD disposition...

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