Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to capture the DATASET or PS space

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
syed-sameer-ahmed
Warnings : 2

New User


Joined: 22 Feb 2007
Posts: 46
Location: Bangalore

PostPosted: Wed Feb 25, 2009 3:03 pm    Post subject: How to capture the DATASET or PS space
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: 8593
Location: Back in jolly old England

PostPosted: Wed Feb 25, 2009 3:16 pm    Post subject:
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    Post subject: Re: How to capture the DATASET or PS space
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: 46
Location: Bangalore

PostPosted: Wed Feb 25, 2009 6:00 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Wed Feb 25, 2009 6:21 pm    Post subject:
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: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Wed Feb 25, 2009 6:21 pm    Post subject:
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    Post subject:
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: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Wed Feb 25, 2009 10:16 pm    Post subject:
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    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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts The TS7720 is out of cache space. Rex Montemayor All Other Mainframe Topics 2 Mon Sep 25, 2017 7:18 am
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us