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
Mandeep Kainth

New User


Joined: 29 Apr 2009
Posts: 23
Location: Bangalore

PostPosted: Mon Dec 07, 2009 6:06 pm
Reply with quote

Hi,

I can see there are a number of uncataloged tape datasets which has expired, I want to delete them all.

The problem is that the datasets are with the same name (XXXX.YYYY.ZZZZ)
but with diffrent CDATE, EXPDT and VOLUME??

Please help me to delete these datasets.

Also this datasets is not getting expired automatically, how can we rectify this problem?

Thanks,
Manddep
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Mon Dec 07, 2009 6:18 pm
Reply with quote

The first thing is to go and speak with your storage management group, explain the problem to them and they should take the appropriate actions for you.
Back to top
View user's profile Send private message
Mandeep Kainth

New User


Joined: 29 Apr 2009
Posts: 23
Location: Bangalore

PostPosted: Mon Dec 07, 2009 7:07 pm
Reply with quote

What is storage management group please?
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Mon Dec 07, 2009 7:12 pm
Reply with quote

The people responsible for storage media etc. etc.

They implement and maintain the retention policies for data within your organisation. If you do not know who they are, you will need to ask a peer.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Dec 07, 2009 7:12 pm
Reply with quote

sarcasm removed by poster
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Mon Dec 07, 2009 7:13 pm
Reply with quote

dbzTHEdinosauer wrote:
Quote:
What is storage management group please?

this is got to be a gag; nobody could write this stuff.

Oh but they can, so with a little self control I refrained from my original response to that post icon_lol.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10833
Location: italy

PostPosted: Mon Dec 07, 2009 7:16 pm
Reply with quote

to reword the info from the TS profile...

ask your colleagues, the other ... Mainframe Sys Admins
Back to top
View user's profile Send private message
Mandeep Kainth

New User


Joined: 29 Apr 2009
Posts: 23
Location: Bangalore

PostPosted: Mon Dec 07, 2009 7:25 pm
Reply with quote

There is no such group in here! icon_lol.gif

There is only one senior member in our organisation and remain busy. I can not ask him?

Can you people help me out?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8651
Location: Dubuque, Iowa, USA

PostPosted: Mon Dec 07, 2009 7:28 pm
Reply with quote

Quote:
I can not ask him?
You probably cannot resolve this issue, then. If you cannot talk to your site support people, there's pretty much nothing you can do -- only your site support team knows the details about how the site tape management policies work and are put together.
Back to top
View user's profile Send private message
Mandeep Kainth

New User


Joined: 29 Apr 2009
Posts: 23
Location: Bangalore

PostPosted: Mon Dec 07, 2009 7:39 pm
Reply with quote

This is not a solution, I want to do without his support.
I am very disappointed by the replies!
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Mon Dec 07, 2009 7:40 pm
Reply with quote

Well, let's try to be helpful ..................

Which TMS is implemented and used.
Have you read the appropriate manuals for said TMS.
What is the status of the volumes within said TMS.
What is the required status of the volumes within the said TMS.
Do you have the knowledge (from the manuals you've read) and the authority to change the status within the TMS.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10833
Location: italy

PostPosted: Mon Dec 07, 2009 7:45 pm
Reply with quote

Quote:
I am very disappointed by the replies!

just fire us and sue us to be reimbursed for the expenses
and ask another no charge consulting firm
Back to top
View user's profile Send private message
Mandeep Kainth

New User


Joined: 29 Apr 2009
Posts: 23
Location: Bangalore

PostPosted: Mon Dec 07, 2009 7:49 pm
Reply with quote

Now that look likes some helpfull comment! icon_smile.gif

I am given the task to delete the uncataloged datasets, which I have listed using the TMSGRW.

I tried deleting the datasets using IEFBR14, using DISP=(MOD,DELETE)

I can see the dataset is getting deleting in the output, but still I can see the entry in the CA1?
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Mon Dec 07, 2009 7:50 pm
Reply with quote

Quote:
This is not a solution, I want to do without his support.
I am very disappointed by the replies!

I missed that one first time out
Please consider this my last post within this topic

Also, would we be correct if we substituted the word knowledge for support

And as Enrico has pointed out - you DO NOT pay us to help you.
And you give us so little information as to be helpful, and then throw your toys out of the pram because we are unable, through your lack of knowledge and information, to be helpful within the constraints decided by yourself.

Well, if we are so much of a disappointment, I'm pretty sure that you have other options ............
Back to top
View user's profile Send private message
Mandeep Kainth

New User


Joined: 29 Apr 2009
Posts: 23
Location: Bangalore

PostPosted: Mon Dec 07, 2009 7:56 pm
Reply with quote

Its really very strange, people don't want to share knowledge!
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: Mon Dec 07, 2009 8:05 pm
Reply with quote

Mandeep Kainth wrote:
Its really very strange, people don't want to share knowledge!
Anyone who has monitored this bulletin board for any length of time at all would realize how utterly absurd this statement is. icon_evil.gif
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: Mon Dec 07, 2009 9:34 pm
Reply with quote

Hello,

Quote:
Its really very strange, people don't want to share knowledge!
Actually, lots of people here share lots of knowledge.

What is really strange is that you provided nothing for us to use to help you and then you complain that you do not get what you came looking for. . . icon_confused.gif

Quote:
There is only one senior member in our organisation and remain busy. I can not ask him?
Quote:
This is not a solution, I want to do without his support.
Possibly because you are supposed to know already? I suspect your biggest problem (at least with this issue) is that you don't understand your requirement and you won't take the time to learn CA-1.
Back to top
View user's profile Send private message
Mandeep Kainth

New User


Joined: 29 Apr 2009
Posts: 23
Location: Bangalore

PostPosted: Mon Dec 07, 2009 9:45 pm
Reply with quote

Hi Dick,

I didn't share the information because nobody asked me to share.
And when I shared nobody wanted to see that!

My only problem is that I want to delete the uncataloged datasets.

I have got a list of more that 100,000 datasets to be deleted! and I don't know where to start?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8651
Location: Dubuque, Iowa, USA

PostPosted: Mon Dec 07, 2009 9:49 pm
Reply with quote

Quote:
I can see there are a number of uncataloged tape datasets which has expired, I want to delete them all.

The problem is that the datasets are with the same name (XXXX.YYYY.ZZZZ)
but with diffrent CDATE, EXPDT and VOLUME??

Please help me to delete these datasets.

Also this datasets is not getting expired automatically, how can we rectify this problem?
If your CA-1 environment is set up correctly, when a tape is expired (i.e., the date on the RETPD= or EXPDT= parameter of the LABEL has been met or exceeded), the tape should automatically move back into your scratch pool. Such a tape is not deleted -- it is in the scratch pool. The data previously on the tape is still there, but the tape is eligible to be written over whenever it is mounted. What do you mean in your post by "delete them all"? CA-1 sites do not "delete" tapes as a general rule; the tapes revert to the scratch pool and are reused upon expiration.

Your second question is a non-question. Once the current system date reaches or exceeds the expiration date set by RETPD= or EXPDT= in the LABEL parameter for the tape creation, the tape is expired. Tape expiry is a condition, it is not something physical. An expired tape is eligible to be overwritten; a non-expired tape won't be overwritten.

If your site is running any virtual tape system (VTS), be aware that CA-1 and the VTS may get out of synchronization and one may show tapes as being active that the other shows as expired. These often have to be resolved manually, either by setting them expired or by extending the expiration date (whichever is required for that tape).

In any case, unless you are willing and able to discuss these matters with your site support, you are most likely not going to get much further. This person (or persons) may very well have excellent reasons for the way the site is set up. Without actually talking to the person(s), you cannot know for sure what those reasons are and under which circumstances you would want to alter them.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


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

PostPosted: Mon Dec 07, 2009 9:57 pm
Reply with quote

Tapes are not deleted thru JCL DISP parameter.

To delete a tape that is in SCRATCH status (remove from TMSGRW report):

1. Reuse the volume for a new file
2. Re-initialize the tape to clear the DSN field
Back to top
View user's profile Send private message
Mandeep Kainth

New User


Joined: 29 Apr 2009
Posts: 23
Location: Bangalore

PostPosted: Mon Dec 07, 2009 10:00 pm
Reply with quote

Robert,

That was really helpfull.

Expat/Enrico,

I would like to apologise for what I said, but it could have been avoided if you would have posted the above reply earlier.

Anyways looking forward for your support in the future.

It was a bad day for me can't tell you why!

But as they rightly said:

Everyday may not be good, but there is always something good in everyday!

Thanks all!
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Tue Dec 08, 2009 2:24 pm
Reply with quote

Mandeep Kainth wrote:
Expat/Enrico,
I would like to apologise for what I said, but it could have been avoided if you would have posted the above reply earlier.

expat wrote:
Well, let's try to be helpful ..................
Which TMS is implemented and used.
Have you read the appropriate manuals for said TMS.
What is the status of the volumes within said TMS.
What is the required status of the volumes within the said TMS.
Do you have the knowledge (from the manuals you've read) and the authority to change the status within the TMS.
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 2:38 pm
Reply with quote

Expat,

Thanks for replying and taking interest. icon_smile.gif

Well we have recently migrated from STK VSM to IBM VTS.
There are a number of old STK volumes that are dormant now and there are few files on these tapes that are uncataloged.

I wanted to delete them!

But as said by Robert and Bill we can't delete an uncatloged tape dataset!

I am reading the CA1 manuals what exactly is the lifecycle of a tape?

Please share if you have something to say!

Thanks,
Mandeep
Back to top
View user's profile Send private message
expat

Global Moderator


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

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

Well at the moment I'm at an RMM site, but in a previous life have used CA1 in batch to release tapes back into "scratch" status, or remove them from CA1, or whatever.

Code:
//TMSUPDTE EXEC PGM=TMSUPDTE
//SYSOUT   DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//TMSRPT   DD SYSOUT=*
//SYSIN    DD *
VOL volser
VER DSN=dataset name
REP EXPDT=yyyy/ddd
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 4:01 pm
Reply with quote

Expat, Thanks!

I'll chk and let you know. But firstly I need to take a deep look at the CA1!
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 1, 2  Next

 


Similar Topics
Topic Forum Replies
No new posts Delete file row if blanks in the firs... DFSORT/ICETOOL 5
No new posts volume mass delete RMM JCL & VSAM 2
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 Easy way to delete selected members f... IBM Tools 12
Search our Forums:

Back to Top