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

getting tape dsn from tape number


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Thu Feb 05, 2009 12:47 pm
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

Moderator Emeritus


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

PostPosted: Thu Feb 05, 2009 12:48 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
No new posts Generate random number from range of ... COBOL Programming 3
No new posts Increase the number of columns in the... IBM Tools 3
No new posts Deleting a Tape file JCL & VSAM 14
Search our Forums:

Back to Top