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

Size of PDS and PS


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sathyajes

New User


Joined: 02 Mar 2006
Posts: 35
Location: Chennai

PostPosted: Mon Jul 20, 2009 12:07 pm
Reply with quote

How to find a size of PDS and PS using REXX?
Back to top
View user's profile Send private message
jkri

New User


Joined: 24 Jul 2007
Posts: 17
Location: pune

PostPosted: Mon Jul 20, 2009 12:38 pm
Reply with quote

"DSINFO DATASET('"DSN name"')"

This command gives you the details of the DSN
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Jul 20, 2009 1:41 pm
Reply with quote

I believe that DSINFO might just be site specific.

Please show me in which IBM manual this is documented.
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Mon Jul 20, 2009 2:22 pm
Reply with quote

Actually expat its there here ISPF service guide
Back to top
View user's profile Send private message
jkri

New User


Joined: 24 Jul 2007
Posts: 17
Location: pune

PostPosted: Mon Jul 20, 2009 2:29 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Jul 20, 2009 2:40 pm
Reply with quote

Old dogs can learn new tricks icon_wink.gif
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Mon Jul 20, 2009 3:43 pm
Reply with quote

Good for u and us icon_smile.gif
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Tue Jul 21, 2009 4:27 am
Reply with quote

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.. icon_biggrin.gif
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Using Java/C/C++ to retrieve dataset ... Java & MQSeries 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Masking variable size field - min 10 ... DFSORT/ICETOOL 4
No new posts Dataset size increase on adding 1 byt... DFSORT/ICETOOL 8
No new posts TWA size of the CPLT transaction CICS 0
Search our Forums:

Back to Top