View previous topic :: View next topic
|
Author |
Message |
sathyajes
New User
Joined: 02 Mar 2006 Posts: 35 Location: Chennai
|
|
|
|
How to find a size of PDS and PS using REXX? |
|
Back to top |
|
|
jkri
New User
Joined: 24 Jul 2007 Posts: 17 Location: pune
|
|
|
|
"DSINFO DATASET('"DSN name"')"
This command gives you the details of the DSN |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
I believe that DSINFO might just be site specific.
Please show me in which IBM manual this is documented. |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
Back to top |
|
|
jkri
New User
Joined: 24 Jul 2007 Posts: 17 Location: pune
|
|
|
|
I didn't know it was site specific. I saw this in one of the code we use.
LISTDSI command can be used to get the DSN info, rite? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Old dogs can learn new tricks |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
Good for u and us |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
LISTDSI is a easy way to get the info. But it has a short coming with regards to multi volume datasets..
Quote: |
If you use LISTDSI to retrieve information about a multiple volume data set, the CLIST stores information for the first volume only. |
So if u measure a multiple volume dataset, it will always show 100% used.
have a look at the below link...
publib.boulder.ibm.com/infocenter/zos/v1r9/index.jsp?topic=/com.ibm.zos.r9.ikjb800/listdsi.htm
DSINFO gives proper stats i think about all volume names and the actual utilisation.
Hope it helps.. |
|
Back to top |
|
|
|