Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Size of PDS and PS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
sathyajes

New User


Joined: 02 Mar 2006
Posts: 24
Location: Chennai

PostPosted: Mon Jul 20, 2009 12:07 pm    Post subject: Size of PDS and PS
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Mon Jul 20, 2009 1:41 pm    Post subject:
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

Moderator


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

PostPosted: Mon Jul 20, 2009 2:22 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

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

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

Moderator


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

PostPosted: Mon Jul 20, 2009 3:43 pm    Post subject:
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: 1504
Location: Chennai

PostPosted: Tue Jul 21, 2009 4:27 am    Post subject:
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...

http://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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts Increase the screen size after split mistah kurtz TSO/ISPF 2 Fri Sep 02, 2016 6:39 pm
No new posts ALTER of an IDMS AREA with NEW/OLD pa... Awanti IDMS/ADSO 2 Mon Mar 14, 2016 10:01 pm
No new posts Add Trailing Zeroes depending upon th... Rohit Umarjikar DFSORT/ICETOOL 3 Fri Oct 23, 2015 1:47 am
No new posts Data Type and Size senthamizh DB2 2 Fri Aug 21, 2015 2:34 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us