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

I want to check the availability of tape dataset


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

PostPosted: Wed Dec 12, 2007 12:39 am
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
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

Moderator Emeritus


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

PostPosted: Wed Dec 12, 2007 3:00 am
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: 8797
Location: Welsh Wales

PostPosted: Thu Dec 13, 2007 12:45 am
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
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

Moderator Emeritus


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

PostPosted: Thu Dec 13, 2007 10:44 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts Allocated cylinders of a dataset DB2 12
Search our Forums:

Back to Top