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

Clean up some old tape datasets


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
venktv

New User


Joined: 29 Mar 2006
Posts: 59
Location: Montreal

PostPosted: Thu Sep 25, 2008 9:13 am
Reply with quote

Hi All,

I want to clean up hundreds of old tape datasets, please let me know the best methods of doing it..

Thanks and Regards
Venkat
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Sep 25, 2008 9:46 am
Reply with quote

Hello,

Quote:
I want to clean up hundreds of old tape datasets
Whatever that means. . .

Quote:
please let me know the best methods of doing it..
Not from what you've posted so far. You need to take enough time to describe just what you want/need to do.

Do you want to scratch these tapes? Do they have old archives that you want to save some of the data from? Are these just worn out old tapes that need to be replaced? Do they contain user data? And on and on.
Back to top
View user's profile Send private message
venktv

New User


Joined: 29 Mar 2006
Posts: 59
Location: Montreal

PostPosted: Thu Sep 25, 2008 10:10 am
Reply with quote

Hi Dick,

Thanks for the response, yes I want to scratch the old tape datasets, which are no longer needed.
Few of these are test region datasets, which are to be deleted without taking the backup.
but few datasets are having user data, since they are on old tapes, we need to replace them.

Thanks and Regards
Venkat
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Sep 25, 2008 10:33 am
Reply with quote

Hello,

Before scratching anything, i'd suggest making a list of the old tapes that still have good data and set up jobs to copy them.

Once you have successfully copied all of the "good" data, you could then make a list of volsers to be scratched and work with your storage management people to scratch all of the tapes on the list.

You might then work with the storage manatement people to have the "old" tapes physically removed and have new tapes of the same volser initialized. They would usually replace old/worn tapes when they went scratch anyway.
Back to top
View user's profile Send private message
venktv

New User


Joined: 29 Mar 2006
Posts: 59
Location: Montreal

PostPosted: Thu Sep 25, 2008 2:42 pm
Reply with quote

Hi..

Thanks for the suggestion, i have enquired the person who raised this request, he just want to delete unwanted datasets and not replacing the whole tape itself...

so, since i have large number of datasets, could you pls tell me how to delete the large number of tape datasets at a time using IDCAMS or any other utility?
what i mean is 'is there any way i can write generic names like
DELETE ABC*.D*.*

Thanks in advance..
Venakt
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Sep 25, 2008 3:44 pm
Reply with quote

Had you used the search facility on the forum you may well have found THIS thread.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Thu Sep 25, 2008 3:54 pm
Reply with quote

Hi,

deleting tape datasets will not necessarily return these tapes to the scratch pool.


Tapes will be returned to the scratch pool if tapes are under catalog control otherwise they will need to be expired via whatever TMS system is used.


Gerry
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Deleting a Tape file JCL & VSAM 14
No new posts Merging 2 datasets into one DFSORT/ICETOOL 1
No new posts PL/I, VB Datasets and the RDW PL/I & Assembler 4
No new posts how to get list of all VSAM/non-VSAM ... JCL & VSAM 13
No new posts JCL and TAPE drives: how to maximize ... JCL & VSAM 9
Search our Forums:

Back to Top