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

How to capture the DATASET or PS space


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
syed-sameer-ahmed
Warnings : 2

New User


Joined: 22 Feb 2007
Posts: 45
Location: Bangalore

PostPosted: Wed Feb 25, 2009 3:03 pm
Reply with quote

Hi All

Back again with Queries and needed help.

I have 5000 datasets which include GDG's ,PS and VSAM,

I am not finding the keywords or commands for calculating the SPACE USED by the datasets. and also all the statistics like LRECL etc.

I found something like SYSUSED but do not know how to code and execute.

Kindly le tme know if you need any more info

Thanks
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed Feb 25, 2009 3:16 pm
Reply with quote

Have you tried ISMF
Back to top
View user's profile Send private message
vpalanivelu

New User


Joined: 24 Feb 2009
Posts: 14
Location: chennai

PostPosted: Wed Feb 25, 2009 3:21 pm
Reply with quote

"SPACE USED BY THE DATASET "

Thank you
Back to top
View user's profile Send private message
syed-sameer-ahmed
Warnings : 2

New User


Joined: 22 Feb 2007
Posts: 45
Location: Bangalore

PostPosted: Wed Feb 25, 2009 6:00 pm
Reply with quote

This actually help a bit but the question remains the same as in that post.

If I use 1 byte of data in One cylinder,the used space is one cylinder

How to get the exact and accurate space.?
Thanks
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed Feb 25, 2009 6:21 pm
Reply with quote

I think that the topic is starting to wander a little. Perhaps if we knew exactly what exactly are you trying to achieve the possibility of workable solutions will increase.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Wed Feb 25, 2009 6:21 pm
Reply with quote

Quote:

If I use 1 byte of data in One cylinder,the used space is one cylinder

How to get the exact and accurate space.?
Your statement is not accurate unless the space allocation unit is cylinders. If coded in blocks, space will be allocated by blocks. Plus you can now allocate by bytes, kilobytes, megabytes -- in which case, one byte allocated may just be a byte -- even on an otherwise unused cylinder.

So what do you consider "the exact and accurate" space used by a dataset? There's allocation and used, which are different terms that mean different things. Yet you seem to be confusing the two completely.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Wed Feb 25, 2009 9:50 pm
Reply with quote

I don't want to stray too far off topic, but Robert, at one time the minimum unit of allocation was 1 track, even if the allocation was defined in terms of blocks. In other words, my understanding was that a track could not be shared by 2 different files. Is this still true or not the case anymore?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Wed Feb 25, 2009 10:16 pm
Reply with quote

Terry, the JCL manual says DASD allocation is still in terms of tracks, so I stand corrected -- one track is the minimum that will be allocated.
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 Replace each space in cobol string wi... COBOL Programming 3
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top