On Tue, 24 Feb 2009 15:57:05 +0000, Ted MacNEIL <[email protected]> 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.
>
>-

Depends on the definition of "pure JCL". The following should work:

//STEP1 EXEC PGM=IKJEFT1A,
// PARM='DEL ''dsn'' PURGE'
//SYSTSIN DD DUMMY
//SYSTSPRT DD SYSOUT=*
//*

--
John

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