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

To Calculate the Space of a Partitioned Data Set


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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
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
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
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
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
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
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
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Jan 18, 2011 4:45 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Tue Jan 18, 2011 6:46 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 2
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts JCL EXEC PARM data in C Java & MQSeries 2
Search our Forums:

Back to Top