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

Delete uncataloged tape datasets


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Dec 08, 2009 8:26 pm
Reply with quote

Well, I saw this thread from 2nd page so I'll avoid what happened on first!... and for my .$02 I'll participate in...

the thing which can cause the problems is the expiration date. Deleting the dataset prior to its expiration date may be problematic. You can contact the tape librarian and ask that the dataset be deleted and the tape be returned to the "scratch pool".

Because if the TMS retention in place then delete will not affect that retention and tapes will not be scratched until they reach EXPDT.
Back to top
View user's profile Send private message
Mandeep Kainth

New User


Joined: 29 Apr 2009
Posts: 23
Location: Bangalore

PostPosted: Tue Dec 08, 2009 8:35 pm
Reply with quote

The problem is these datasets are already expired but still I can see the entry!
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Dec 08, 2009 11:17 pm
Reply with quote

IIRC
You might see some of them because the tape on which they reside still contains active datasets

once the tape has been returned to the scratch pool You should not see them any longer
Back to top
View user's profile Send private message
Mandeep Kainth

New User


Joined: 29 Apr 2009
Posts: 23
Location: Bangalore

PostPosted: Tue Dec 08, 2009 11:44 pm
Reply with quote

Ok

So we can conclude that

€ We can not delete an uncataloged dataset that resides on a tape

€ The tape should be sent to the sctratch pool inorder to get it freed by all the datasets.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Dec 08, 2009 11:57 pm
Reply with quote

Quote:
€ We can not delete an uncataloged dataset that resides on a tape
€ The tape should be sent to the sctratch pool inorder to get it freed by all the datasets.


both conclusions are wrong...
the second sentence has the logic reversed
the tape will be sent to the scratch pool after all the datasets have expired

anyway all depends on the meaning You assign to the word delete....

for dasd, a delete resembles closely the meaning of the word...
a listcat will not show the dataset
a listvtoc will not show the dataset
after this the dataset content might be available thru the usage of advanced tools
( at least the part that has not been overwritten )

for tapes
a listcat will not show the dataset
a <tapelistvtoc> will show the datasets on the tape
a tms query will show the dataset if the tape on which it resides is still active

after the tape has been returned to the scratch pool
a <tapelistvtoc> will show the datasets on the tape
the dataset can be accessed very simply by using the proper DD
keywords for a non cataloged dataset ( VOL=SER=... LABEL=xx,SL)

and even after a tape has been reused ( EOV marker written )
using advanced tools the data after the EOV can be recovered and used
(easier than doing it for dasd datasets)

the final answer is NO, You cannot delete tape datasets in the same sense You delete dasd datasets
( being cataloged or not is irrelevant )
Back to top
View user's profile Send private message
Mandeep Kainth

New User


Joined: 29 Apr 2009
Posts: 23
Location: Bangalore

PostPosted: Wed Dec 09, 2009 12:17 am
Reply with quote

Thanks,

That was really helpful.

I'll appreciate if can share any manual which can help to get this expert knowledge. I know the statement is contradictory as expert knowledge comes through experience, but yes, if you want to reach the TOP, you need to start from the ground level only!
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: Wed Dec 09, 2009 12:28 am
Reply with quote

Hello,

If your organization is licensed to use the product, all of the material is available for free from CA Support.
Back to top
View user's profile Send private message
Mandeep Kainth

New User


Joined: 29 Apr 2009
Posts: 23
Location: Bangalore

PostPosted: Wed Dec 09, 2009 12:34 am
Reply with quote

Thanks.

I'll check!
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Wed Dec 09, 2009 10:35 am
Reply with quote

neontech,
You obviously haven't read all the other posts in this thread.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed Dec 09, 2009 12:44 pm
Reply with quote

Or many of the other threads he's replied to either.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Dec 09, 2009 3:51 pm
Reply with quote

neontech wrote:
IEFBR14 should delete your files... (old,delete,delete)..
And what is the files(DSNs) are migrated? Why to awake(recall) the slepping-beauties? icon_smile.gif
Back to top
View user's profile Send private message
Bill Dennis

Active Member


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

PostPosted: Thu Dec 10, 2009 12:46 am
Reply with quote

Mandeep Kainth wrote:
The problem is these datasets are already expired but still I can see the entry!
If you still see the tapes listed in TMSGRW, ensure that you are rejecting tapes in scratch status (see TMFLAGs). The DSN remains on the TMC record until the scratch tape is reused or initialized.
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 -> CA Products Goto page Previous  1, 2

 


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 Merging 2 datasets into one DFSORT/ICETOOL 1
Search our Forums:

Back to Top