View previous topic :: View next topic |
Author |
Message |
karandeanand Beginner
Joined: 22 Apr 2005 Posts: 2 Topics: 1
|
Posted: Fri Apr 22, 2005 9:42 am Post subject: Wild cards to delete all the datasets (PS) |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Fri Apr 22, 2005 10:00 am Post subject: |
|
|
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 |
|
 |
karandeanand Beginner
Joined: 22 Apr 2005 Posts: 2 Topics: 1
|
Posted: Fri Apr 22, 2005 10:50 am Post subject: Is this allowed ? |
|
|
Is this allowed?
Code: |
DS(INCL(AISSTMP.*.NGPT72S.*))
|
|
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Fri Apr 22, 2005 11:10 am Post subject: |
|
|
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 |
|
 |
|
|