Try searching for a post that shows the creation date of all the GDG versions in this forum. Had seen one a couple of years back.
Here is the idea.
Step 1 : Do a LISTCAT to get a list of all files matching your search criteria.
Step 2 : Use Icetool or sort to extract GDG bases from the o/p of first step.
Step 3 : Use IDCAMS to delete all the GDG bases by using the o/p of step 2.
Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
Posted: Fri Jun 06, 2008 11:24 am Post subject:
Bill Dennis,
Bill,
I don't think DFDSS reads the datasets when the output is DUMMY. The documentation for ADRDSSU says
Quote:
NOTE: If the output file for a DUMp is specified as DUMMY in the JCL, DFDSS can be used to scratch and uncatalog data sets by specifying the DELETE parameter.
Joined: 01 Mar 2007 Posts: 475 Topics: 9 Location: Welsh Wales
Posted: Sat Jun 07, 2008 4:27 am Post subject:
IGGCSIRX in SYS1.SAMPLIB can be tailored to do many things.
I did write a version at a previous shop that would delete all the GDG entries and bases in one hit using wild card selection.
Alas, I never thought I'd need it again and didn't keep a copy of the source _________________ If it's true that we are here to help others,
then what exactly are the others here for ?
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