View previous topic :: View next topic
|
Author |
Message |
bnveena
New User
Joined: 29 May 2007 Posts: 50 Location: hyderabad
|
|
|
|
Hi ,
I want to know the length of a data set in Kilo bytes. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Multiply lrecl * number-of-records and divide by 1024. |
|
Back to top |
|
|
arunkumar atr
New User
Joined: 03 Dec 2008 Posts: 19 Location: Chennai
|
|
|
|
Hi,
If u know the length of DS in tracks, then here is the solution..
1 track = 56 KB |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
If u know the length of DS in tracks, then here is the solution..
1 track = 56 KB |
please post the reference where You found this misleading info
even the original question is badly posed...
the disk space allocated to the dataset..
or the space used inside the allocation?? |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
arunkumar atr wrote: |
Hi,
If u know the length of DS in tracks, then here is the solution..
1 track = 56 KB |
That will depend on the disk device type.
Beside that on 100T-byte tape drives, the track size is about 10 microns |
|
Back to top |
|
|
arunkumar atr
New User
Joined: 03 Dec 2008 Posts: 19 Location: Chennai
|
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
arunkumar atr
New User
Joined: 03 Dec 2008 Posts: 19 Location: Chennai
|
|
|
|
Hi enrico sorichetti,
I got the following info from the link.... www.lascon.co.uk/d008003.htm
It says tat in 3390-3 volume, we have 55,996 usable bytes per track... |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
It says tat in 3390-3 volume, we have 55,996 usable bytes per track |
Your assumption is that all 55,996 bytes are usable for every file -- which is not true. If the file has fixed length records, and the record length is not 27998 or an even divisor of 27998, you will not be able to use all 55,996 bytes. And this assumes half-track blocking is being used -- other block sizes can reduce the amount of used space per track by 75-80%. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
bnveena wrote: |
Hi ,
I want to know the length of a data set in Kilo bytes. |
Why would someone want to know that (the 1.000.000 dollar question)?
As far as i know nobody is interested in kilobytes, everybody computes space in tracks, cylinders, volumes etc.
Formulas enough to do that kind of computations.
Using DATACLASS makes it even easier, using a small DATACLASS for big
datasets or a large DATACLASS for a small dataset will bring the storage guys to your door in seconds with their baseball bats. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
Why would someone want to know that (the 1.000.000 dollar question)? |
If the data set has to be transferred to another system (Unix or Windows based, for example), the size in KB could be relevant. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Quote: |
will bring the storage guys to your door in seconds with their baseball bats. |
No, us storage guys are really nice people |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
No, us storage guys are really nice people |
You say that NOW! |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
The storage guys i know are my best friends (and yes after a lot of boozing is involved) |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Robert Sample wrote: |
Quote: |
No, us storage guys are really nice people |
You say that NOW! |
Yeah, only because I've left my baseball bat at home today
PeterHolland wrote: |
The storage guys i know are my best friends (and yes after a lot of boozing is involved) |
Yes, we are easily bribable - Mine's a Leffe blonde thanks |
|
Back to top |
|
|
|