MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Identifying tape datasets

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 699
Topics: 63
Location: USA

PostPosted: Fri Dec 31, 2004 8:33 am    Post subject: Identifying tape datasets Reply with quote

I am lookin through a list of file names to find out if they exist or not by doing a sysdsn in REXX.

My list also contains some tape dataset and sysdsn is taking few minutes for them.

Since I am not interested in tape datasets, is there a to identify if it is a tape dataset or not.
Back to top
View user's profile Send private message Send e-mail
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Sat Jan 01, 2005 6:05 am    Post subject: Reply with quote

Dibakar,

Did u try using LISTCAT entries (from REXX)? Actually it is a bit better than SYSDSN. For example if a dataset is migrated, and if you use SYSDSN on that, it issues a automatic recall on the dataset. Instead if you use LISTC you can easily find whether the dataset exists or not without recalling it. I hope LISTC will be helpful even to check the existance of tape datasets.

Thanks,
Phantom
Back to top
View user's profile Send private message
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Mon Jan 03, 2005 10:45 am    Post subject: Reply with quote

When LISTCAT shows a DEVTYPE like x'78048081', look for this:

xxxx80xx is tape
xxxx20xx is DASD

Regards,
Bill
Back to top
View user's profile Send private message
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 699
Topics: 63
Location: USA

PostPosted: Wed Jan 19, 2005 4:26 am    Post subject: Reply with quote

I beleive I faced same problem with LISTC, don't remeber exactly now. But my problem was solved when I was informed that I don't have to bother about production datasets since all these tape datasets were production datasets.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group