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 

Wild cards to delete all the datasets (PS)

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management
View previous topic :: View next topic  
Author Message
karandeanand
Beginner


Joined: 22 Apr 2005
Posts: 2
Topics: 1

PostPosted: Fri Apr 22, 2005 9:42 am    Post subject: Wild cards to delete all the datasets (PS) Reply with quote

1. Is there any JCL utility that can be run to delete all the Physical sequential datasets starting with a particular High Level Qualifier (HLQ). I need to free all such data sets after allthe jobs have been successfully executed.

2. Can we check berfore deleting a dataset whether any job is waiting to be triggerred / depending upon the dataset in question and delete only if it is not required?
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: Fri Apr 22, 2005 10:00 am    Post subject: Reply with quote

Please search before posting.

Quote:

1. Is there any JCL utility that can be run to delete all the Physical sequential datasets starting with a particular High Level Qualifier (HLQ). I need to free all such data sets after allthe jobs have been successfully executed.


Check this link

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

Quote:

2. Can we check berfore deleting a dataset whether any job is waiting to be triggerred / depending upon the dataset in question and delete only if it is not required?


Run a scan using (3.15) in batch mode against your JCL's and find list all the jobs using the datasets.

Hope this helps...

Cheers

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
karandeanand
Beginner


Joined: 22 Apr 2005
Posts: 2
Topics: 1

PostPosted: Fri Apr 22, 2005 10:50 am    Post subject: Is this allowed ? Reply with quote

Is this allowed?

Code:

DS(INCL(AISSTMP.*.NGPT72S.*))
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: Fri Apr 22, 2005 11:10 am    Post subject: Reply with quote

karandeanand,

Please DO NOT post the same question in more than one topic.

Yes the syntax is valid ! It only takes less than a minute to test it out.

Thanks

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management 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