View previous topic :: View next topic |
Author |
Message |
Dibakar Advanced
![](images/avatars/gallery/cartoons/WB70.gif)
Joined: 02 Dec 2002 Posts: 699 Topics: 63 Location: USA
|
Posted: Fri Dec 31, 2004 8:33 am Post subject: Identifying tape datasets |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
Phantom Data Mgmt Moderator
![Data Mgmt Moderator Data Mgmt Moderator](images/ranks/Phantom.jpg)
Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Sat Jan 01, 2005 6:05 am Post subject: |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
Bill Dennis Advanced
![](images/avatars/gallery/cartoons/WB60.gif)
Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Mon Jan 03, 2005 10:45 am Post subject: |
|
|
When LISTCAT shows a DEVTYPE like x'78048081', look for this:
xxxx80xx is tape
xxxx20xx is DASD
Regards,
Bill |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Dibakar Advanced
![](images/avatars/gallery/cartoons/WB70.gif)
Joined: 02 Dec 2002 Posts: 699 Topics: 63 Location: USA
|
Posted: Wed Jan 19, 2005 4:26 am Post subject: |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
|
|