MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Bulk Deleting Sequential Datasets with similar names

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
HP_Steve
Beginner


Joined: 09 Jul 2008
Posts: 6
Topics: 3

PostPosted: Tue Jan 26, 2010 1:02 pm    Post subject: Bulk Deleting Sequential Datasets with similar names Reply with quote

Hello,
I'm running a job, which will result in 100,000+ sequential datasets being created. They will all have a similar naming convention, i.e.
STEVE.A1
STEVE.A2
..
STEVE.A100000
*
Without having to write IDCAMS statements with 100,000 Deletes, is there a way or some utility I can use in a JCL to delete the datasets?

I'm looking for something that will find all datasets called STEVE.A* for example and delete them.
I can change the naming convention.

Thanks.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue Jan 26, 2010 1:25 pm    Post subject: Reply with quote

Hp_steve,

Please search before posting. Check these links


http://www.mvsforums.com/helpboards/viewtopic.php?t=3955&highlight=adrdssu+delete

http://www.mvsforums.com/helpboards/viewtopic.php?t=2758&highlight=adrdssu+delete

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
HP_Steve
Beginner


Joined: 09 Jul 2008
Posts: 6
Topics: 3

PostPosted: Tue Jan 26, 2010 2:44 pm    Post subject: Reply with quote

Thanks for the answer - works beautifully, and for the tip, I'll be sure to try & use better key words the next time I search.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group