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
 

 

getting tape dsn from tape number

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

New User


Joined: 25 Apr 2008
Posts: 49
Location: Gurgaon

PostPosted: Thu Feb 05, 2009 12:39 pm    Post subject: getting tape dsn from tape number
Reply with quote

Hi All,

I lost the address of one tape dsn.I am having the tape number.Is it possible to retrieve the address of such a tape.
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 Feb 05, 2009 12:47 pm    Post subject:
Reply with quote

The code below assumes that you have access to BLP and that EXPDT=98000 is valid for your TMS.

Code:

//TAPELABL EXEC PGM=IEBGENER                   
//SYSOUT   DD SYSOUT=*                         
//SYSPRINT DD SYSOUT=*                         
//SYSUT1   DD DSN=Any thing that you want, 
//            DISP=SHR,                       
//            UNIT=(unit,1,DEFER),           
//            LABEL=(1,BLP),EXPDT=98000,       
//            RECFM=FB,LRECL=80,BLKSIZE=80,   
//            VOL=SER=volser                   
//SYSUT2   DD SYSOUT=*,DCB=BLKSIZE=80         
//SYSIN    DD DUMMY                           


Obviously if you have access to the TMS you can run a report on the volser, or ask your storage people to tell you.
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 Feb 05, 2009 12:48 pm    Post subject:
Reply with quote

Hello,

Check with your tape storage management people.

They should be able to locate the volume as well as confirm what content is on the volume.
Back to top
View user's profile Send private message
manishmittal

New User


Joined: 25 Apr 2008
Posts: 49
Location: Gurgaon

PostPosted: Thu Feb 05, 2009 12:56 pm    Post subject:
Reply with quote

Thnx to all of you.
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 what is meaning of the number in dcl Martylin PL/I & Assembler 2 Thu Mar 09, 2017 7:18 am
No new posts Extract set of records matching on ac... bhaskar_kanteti DFSORT/ICETOOL 3 Mon Mar 06, 2017 7:19 am
No new posts GDG version number PANDU1 JCL & VSAM 4 Sat Mar 04, 2017 8:28 pm
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts Sequence number add in SORT pshongal SYNCSORT 3 Fri Sep 02, 2016 3:32 pm


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