Re: Deleting UnExpired dataset using JCL
- From: joarmc@xxxxxxxxxx (John McKown)
- Date: 24 Feb 2009 09:05:44 -0800
On Tue, 24 Feb 2009 15:57:05 +0000, Ted MacNEIL <eamacneil@xxxxxxxx> 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 listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.
- Prev by Date: New public course: Assembler intro
- Next by Date: Re: Deleting UnExpired dataset using JCL
- Previous by thread: Re: Deleting UnExpired dataset using JCL
- Next by thread: Re: Deleting UnExpired dataset using JCL
- Index(es):
Relevant Pages
|