Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Delete a few Generations in a GDG that exists in tapes

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
RanjitRaveendran
Warnings : 1

New User


Joined: 24 Nov 2008
Posts: 20
Location: Bangalore

PostPosted: Fri Mar 13, 2009 8:34 pm    Post subject: Delete a few Generations in a GDG that exists in tapes
Reply with quote

I need to delete a few generations of a GDG that is written in a Tape (type 3480). I know the tape volser nos. What is the best method to do this.
Back to top
View user's profile Send private message

martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Fri Mar 13, 2009 9:06 pm    Post subject:
Reply with quote

Hy Ranjit,

just to make clear...

what kind of tape?

do you mean the GDG is already migrated on a tape or
the GDG is a tape GDG, means each of the generations is
a tape?

if point 1 is true, then use the HDEL, which will delete a migrated
entry from a tape...

if point 2 is true, then just uncatalogue that specific generation tape

regards,
martin9
Back to top
View user's profile Send private message
RanjitRaveendran
Warnings : 1

New User


Joined: 24 Nov 2008
Posts: 20
Location: Bangalore

PostPosted: Fri Mar 13, 2009 9:10 pm    Post subject:
Reply with quote

point 2 is my case. each generation is a tape volume. Uncatalog through TSO? or IDCAMS / IEFBR14 can be used to uncatalog.

I have a sub question in this, does RETPD take precedence in this case. I have the GDG generations with RETPD of 365 days. I need to delete these or if possible to change RETPD to 0 or the least possible so that the data is lost.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Fri Mar 13, 2009 11:56 pm    Post subject:
Reply with quote

There may be tape management software considerations for updating EXPDTs on tape. Check at your site.

Try not to use IEFBR14 to UNCATLG as the system will attempt to mount the tape. If you say UNIT=(,,DEFER) it will still allocate a tape unit. IDCAMS is best.
Back to top
View user's profile Send private message
himanshu7

Active User


Joined: 28 Aug 2007
Posts: 131
Location: At Desk

PostPosted: Mon Mar 16, 2009 10:32 am    Post subject:
Reply with quote

Do you want to delete the older generations or some specific generation from between?

If you want to delete the older generations then use alter GDG.Name limit(X) to your specific requirement, this will uncatalog all the older generations and will keep the latest on tape as per your limit.Use IDCAMS.
Back to top
View user's profile Send private message
RanjitRaveendran
Warnings : 1

New User


Joined: 24 Nov 2008
Posts: 20
Location: Bangalore

PostPosted: Mon Mar 16, 2009 10:41 am    Post subject:
Reply with quote

Thank you all for reply. I did speak to my Tape Management guys and they confirmed they can change the EXPDT.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts JCL to delete component in a package sundaram.naveen Compuware & Other Tools 14 Tue Nov 29, 2016 6:21 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm
No new posts Delete record or Reset RC code using ... mpawan Compuware & Other Tools 4 Tue Jul 26, 2016 3:52 pm
No new posts Compare each GDG Generations to other... Ayyappa1 JCL & VSAM 13 Tue Jun 28, 2016 1:48 pm
No new posts Delete VSAM File Records amitc23 CICS 6 Sun Apr 10, 2016 10:10 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us