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
 
I want to check the availability of tape dataset

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

New User


Joined: 20 Nov 2007
Posts: 3
Location: US

PostPosted: Wed Dec 12, 2007 12:08 am    Post subject: I want to check the availability of tape dataset
Reply with quote

I want to check the availability of tape dataset. When trying SYSDSN getting error message like "ERROR PROCESSING REQUESTED DATASET".

How I will check tape dataset using SYSDSN?..
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Wed Dec 12, 2007 12:39 am    Post subject:
Reply with quote

Have you tried the fine manual before posting here?

O.
Back to top
View user's profile Send private message
senmf25

New User


Joined: 20 Nov 2007
Posts: 3
Location: US

PostPosted: Wed Dec 12, 2007 12:53 am    Post subject:
Reply with quote

I read the manual. SYSDSN doesnot support tape dataset. Is there any alternate way?... I dont want to check "NOT ON VOLUME". I need to check tape dataset is available or not?
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: Wed Dec 12, 2007 3:00 am    Post subject:
Reply with quote

Hello,

Quote:
I need to check tape dataset is available or not?
How do you define "available"? Every tape in the library/silo is "available", is it not? Are you trying to determine if a tape is stored off-site (i.e. disaster copy)?

If we better understood your requirement, someone might have better suggestions.
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 Dec 13, 2007 12:45 am    Post subject:
Reply with quote

Talk to your storage people if you want to know where a tape is and do not have access to the TMS (Tape Management Software).
Back to top
View user's profile Send private message
senmf25

New User


Joined: 20 Nov 2007
Posts: 3
Location: US

PostPosted: Thu Dec 13, 2007 8:33 am    Post subject:
Reply with quote

As per my understanding, SYSDSN wont support tape dataset. so what I did is I used LISTCAT and checked the return code. IF RC = 4 dataset is not available.
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 Dec 13, 2007 10:44 pm    Post subject:
Reply with quote

Hello,

LISTCAT will show if a dataset name is cataloged.

If you check with your storage management people, they may be able to show you datasets that are still on tape, but are not visable in the catalog.
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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts ALPHABETIC check in COBOL vidyaa COBOL Programming 8 Thu Aug 17, 2017 7:13 pm

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