Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Tape data set name using Tape serial number

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

New User


Joined: 22 Mar 2008
Posts: 39
Location: bangalore

PostPosted: Wed Apr 08, 2009 9:55 pm    Post subject: Tape data set name using Tape serial number
Reply with quote

Hi,

is it possible to get tape dataset name by giving tape serial number. I am not sure how to get this.....

I searched in this forum for this but didn't get the solution.

could you please give some suggestions for achieving this.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8154
Location: East Dubuque, Illinois, USA

PostPosted: Wed Apr 08, 2009 10:54 pm    Post subject:
Reply with quote

If you have a tape management system such as CA-1, the interface allows you to specify a tape volume serial and get the data set names on the tape. Or your site may have one of the tapemap utilities that can be used for this purpose.

If not, you cannot easily get the data set name from the volume serial -- part of the name is stored in the label (assuming the tape is a labeled tape) but not the whole name; if the tape data set name is cataloged you can get to it through the catalog but that requires a search.
Back to top
View user's profile Send private message
maheshvamsi

New User


Joined: 22 Mar 2008
Posts: 39
Location: bangalore

PostPosted: Thu Apr 09, 2009 10:42 am    Post subject:
Reply with quote

Yes, we have Tape management System.

I usually check there only.

Is it possible to get it from job, where we can give tape serial number, from that we can get Tape Dataset name.

Could you please suggest.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Apr 09, 2009 11:32 am    Post subject:
Reply with quote

Look at what Robert has said

Quote:
If not, you cannot easily get the data set name from the volume serial -- part of the name is stored in the label (assuming the tape is a labeled tape) but not the whole name


The label will only ever give you the last 17 bytes of the dataset name.
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 Apr 09, 2009 6:40 pm    Post subject:
Reply with quote

maheshvamsi wrote:
Yes, we have Tape management System.
Which one? CA-1? TLMS? RMM?

There are batch inquiry jobs to display the files on a tape.
Back to top
View user's profile Send private message
maheshvamsi

New User


Joined: 22 Mar 2008
Posts: 39
Location: bangalore

PostPosted: Thu Apr 09, 2009 10:03 pm    Post subject:
Reply with quote

We uses CA-1 in our project
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Thu Apr 09, 2009 10:13 pm    Post subject:
Reply with quote

Hello,

If you have permission, you can look at the info by volser using the CA-1 screens, or you can write a simple query using EARL (or possibly GRW, if it is available).

Suggest you talk with your storage management people to see which might be available to you. This is restricted at many sites.
Back to top
View user's profile Send private message
maheshvamsi

New User


Joined: 22 Mar 2008
Posts: 39
Location: bangalore

PostPosted: Thu Apr 09, 2009 10:24 pm    Post subject:
Reply with quote

Hi Dick,

I am using CA-1 Screens only, we have requirements to give Dataset names on tapes. So they will provide us with only tape serial numbers & we need to provide tape data set name.

I am hering for the first time about EARL & GRW.

Could you please tell what are these & how to use them..

As I am from support team, I may have access to use anything in our shop.
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Thu Apr 09, 2009 10:34 pm    Post subject:
Reply with quote

Hello,

CA-EARL is a reporting tool that will read the TMC and produce output of selected info. You would write your code to select the volser(s) of interest and report the dsn or any other info you might want.

GRW (General Report Writer?) is another reporting tool that has been part of CA-1 for a long, long time. People who have used CA-1 "for ages" learned GRW and did not want to learn EARL icon_smile.gif

It has been almost 10 years since i helped resolve some issues with a rather large tape inventory (over 2 million cartridges) and converted some of this to V-Tape, so my memory might not be completely accurate and the product may have been changed since then.

If my memory is working, there are EARL examples in the documentation.

You might open an issue with CA support.
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 Apr 10, 2009 3:10 am    Post subject:
Reply with quote

CA-1 also has documented APIs so you could do lookup in a program. Check the manuals for the TMMxxxx macros.

At a prior job, I wrote an EDIT macro that invoked a utility to look up the info from TMC and insert JCL based on the VOLSER at the cursor position. Very handy when the file was multi-volume.
Back to top
View user's profile Send private message
maheshvamsi

New User


Joined: 22 Mar 2008
Posts: 39
Location: bangalore

PostPosted: Fri Apr 10, 2009 12:09 pm    Post subject:
Reply with quote

Thanks Dick & Dennis icon_smile.gif

I will try to find out some examples how to use GRW or a Macro for this.

now its time to try something .. icon_wink.gif
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 File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 0 Tue Sep 26, 2017 3:35 am
No new posts Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am
No new posts Extract Data till prev hour balaji81_k DB2 16 Fri Aug 25, 2017 9:25 pm
No new posts FTP data transfer from PC to Mainfram... AJAYREDDY All Other Mainframe Topics 8 Wed Aug 23, 2017 9:59 pm
No new posts Profile changed to NUMBER ON STD (fro... Martylin TSO/ISPF 1 Thu Aug 03, 2017 9:14 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us