IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to delete all the versions of GDG w/o deleting the base?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
lalitha_gld

New User


Joined: 12 Jul 2006
Posts: 24

PostPosted: Fri Jul 27, 2007 11:55 am
Reply with quote

Hi,

We are using a GDG dataset for our process.We need to delete all the existing versions of the GDG without deleting the base.

If we give the deletion for the base GDG, then it would delete all the versions along with the base.But we need to retain the base for further process.

Please let us know a way!

Thanks,
Lalitha.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Fri Jul 27, 2007 11:58 am
Reply with quote

Lalitha,

Use base with disp=(old,delete,delete) will delete all the generations. Please remember you need IDCAMS to del gdg base.
Back to top
View user's profile Send private message
lalitha_gld

New User


Joined: 12 Jul 2006
Posts: 24

PostPosted: Fri Jul 27, 2007 12:40 pm
Reply with quote

Thanks Murali,

The solution worked!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts DELETE SPUFI DB2 1
No new posts DSNTIAUL driven delete IBM Tools 0
No new posts Deleting a Tape file JCL & VSAM 14
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts CA7 deleting files in steps after job... CA Products 4
Search our Forums:

Back to Top