Have you tried :

//DEL EXEC PGM=IKJEFT01 
//SYSTSPRT  DD SYSOUT=*                
//SYSTSIN   DD *                       
 DEL 'V110.TGBA.TESTDEL' PURGE   

Frank 

The information contained in this message may be privileged and
confidential and protected from disclosure.  If the reader of this
message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, you
are hereby notified that any dissemination, distribution or copying of
this communication is strictly prohibited. If you have received this
communication in error, please notify us immediately by replying to the
message and deleting it from your computer.

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
Behalf Of Howard Brazee
Sent: Tuesday, February 24, 2009 3:48 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Deleting UnExpired dataset using JCL

On 24 Feb 2009 10:51:47 -0800, eamacn...@yahoo.ca (Ted MacNEIL) wrote:

>
>>//S005    EXEC PGM=IEFBR14                       
>>//DD1   DD DSN=name.xxx,DISP=(MOD,DELETE),   
>>//    UNIT=SYSDA,SPACE=(TRK,(0))                 
>
>Yes. It failed because the dataset had a future expiry date.
>That was basically the content of the original post.    

It also, like every JCL job, contains something other than "pure JCL",
in this case the IEFBR14 "program".

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to