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
 

 

To Calculate the Space of a Partitioned Data Set

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
jjacome266

New User


Joined: 26 Jan 2006
Posts: 12

PostPosted: Thu Feb 09, 2006 1:06 am    Post subject: To Calculate the Space of a Partitioned Data Set
Reply with quote

Hi everyone:

On my new work I have to go back to many concepts that I used in the past and calculations and I do not remember many things.

Right now I am trying to create PO data set. And I would like to know if any body up there knows. How can I calculate the space?

If I am using cylinders, tracks, or blocks. Please let me know if there an equation to calculate the right space that I will used in a dasd :

Regards
Jose Jacome

:shock:
Back to top
View user's profile Send private message

veena_nagesh2002
Warnings : 1

Active User


Joined: 07 May 2005
Posts: 110
Location: hyderabad

PostPosted: Thu Feb 09, 2006 9:34 am    Post subject: exact space claiculator
Reply with quote

use this tso command at command line


TSO DASDCALC

give the record len and no of records

you will get the answer
Back to top
View user's profile Send private message
veena_nagesh2002
Warnings : 1

Active User


Joined: 07 May 2005
Posts: 110
Location: hyderabad

PostPosted: Thu Feb 09, 2006 9:48 am    Post subject: give me your mail id , i will send one excell sheet to you
Reply with quote

that is more understandble then any thing


or else tell me how to attach
Back to top
View user's profile Send private message
rajesh_1183

Active User


Joined: 24 Nov 2005
Posts: 121
Location: Tadepalligudem

PostPosted: Thu Feb 09, 2006 9:59 am    Post subject:
Reply with quote

Hi veena,

I tried that cmd,it is saying cmd not fnd.Could u elaborate with an example..and where to write that cmd....???


Thanks,
Rajesh
Back to top
View user's profile Send private message
veena_nagesh2002
Warnings : 1

Active User


Joined: 07 May 2005
Posts: 110
Location: hyderabad

PostPosted: Thu Feb 09, 2006 10:15 am    Post subject: give me your mail id , i will send one excell sheet to you
Reply with quote

hi rajesh

give me your mail id

i will send the excell sheet to you which is best i have ever seen for space caliculation

or else

type TSO DASDCALC at command line then press enter

it will open screen which will contain the attributes which are required to caliculate and you fill the lrecl is 80 for example and then press enter you will get the answere
Back to top
View user's profile Send private message
donevin

New User


Joined: 07 Jun 2005
Posts: 70
Location: South Africa

PostPosted: Thu Feb 09, 2006 2:11 pm    Post subject:
Reply with quote

HI Veena

Can you please upload the excell spreadsheet to the forum. Maybe other people can use it too. The TSO command looks like a clist and if it is, it will not be readily available in all IT shops.
Back to top
View user's profile Send private message
jjacome266

New User


Joined: 26 Jan 2006
Posts: 12

PostPosted: Thu Feb 09, 2006 6:47 pm    Post subject: Re: give me your mail id , i will send one excell sheet to y
Reply with quote

Please send me the spreadsheet to calculate the space. You know that the person that comes from the PC world we always managed ourself with MB or GB. So I just want to go from MB or GB to tracks or Cylinders.

Example I would like to have 10MB of space to a dataset. So how much is that in cylinders or tracks. The same thing if I want 10GB of space. So it is a conversion formula that I want.

Also you can add any attachment on this forum. So if you have anything please send me the information I need it to calculate the exact amount of space that I would use in my datasets.

I used at the command line dasdcalc and it did not work. I do not why. But if you have the formula as I describe above please send it to me.

Regards
Jose Jacome

:shock:

veena_nagesh2002 wrote:
hi rajesh

give me your mail id

i will send the excell sheet to you which is best i have ever seen for space caliculation

or else

type TSO DASDCALC at command line then press enter

it will open screen which will contain the attributes which are required to caliculate and you fill the lrecl is 80 for example and then press enter you will get the answere
Back to top
View user's profile Send private message
veena_nagesh2002
Warnings : 1

Active User


Joined: 07 May 2005
Posts: 110
Location: hyderabad

PostPosted: Tue Feb 21, 2006 5:03 pm    Post subject: Re: To Calculate the Space of a Partitioned Data Set
Reply with quote

HI,

THERE ARE TWO WAYS TO CALICULATE THE SPACE

TYPE TSO DASDCALC AT COMMAND PROMPT

GIVE THE LRECL, NO OF RECORDS AND PRESS ENTER OR ELSE

SEE THIS EXCELL SHEET

I AM ATTACHING THE BEST WAY OF CALICULATING THE SPACE
Back to top
View user's profile Send private message
TS70363

New User


Joined: 07 Apr 2010
Posts: 94
Location: Bangalore, India

PostPosted: Tue Jan 18, 2011 4:34 pm    Post subject: Reply to: To Calculate the Space of a Partitioned Data Set
Reply with quote

I could not find the excel sheet. Can u please send it or attach it once again.

I would like to know if there are 10000 records each of Lrecl = 80 and Blocksize assumed as 800, then how much space is required to store those 10000 records.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Tue Jan 18, 2011 4:45 pm    Post subject:
Reply with quote

TS70363, do you really expect an answer after almost 5 years?

Google is your friend. Find a copy of GX26-4577, which is the 3390 DASD chart, and download it. You will find that 800-byte blocks allow 39 blocks per track or 390 records per track. You can do the math from that point.

And 800 bytes per block is not very efficient these days -- by using half-track blocking, you can put almost 700 records per track instead of 390.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Tue Jan 18, 2011 6:46 pm    Post subject: Reply to: To Calculate the Space of a Partitioned Data Set
Reply with quote

icon_confused.gif
just curious....
I clicked the download button....
downloaded,and opened it with Numbers ( mac os x Execel counterpart ) and it worked ?
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm


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