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
 
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: 8646
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 add sequence number for duplicate rec... SRUTHI DRAVIDAMANI COBOL Programming 11 Thu Feb 22, 2018 5:37 pm
No new posts PARSE GDG name to separate generation... Abid Hasan SYNCSORT 2 Sun Feb 11, 2018 3:40 pm
No new posts Tape file issue abdulrafi JCL & VSAM 2 Thu Feb 08, 2018 12:01 pm
No new posts Increment number for every group of r... srajendran2 DFSORT/ICETOOL 7 Thu Nov 09, 2017 10:31 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