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
 

 

How to know the length of a data set in KB

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
bnveena

New User


Joined: 29 May 2007
Posts: 50
Location: hyderabad

PostPosted: Fri Feb 27, 2009 8:40 am    Post subject: How to know the length of a data set in KB
Reply with quote

Hi ,

I want to know the length of a data set in Kilo bytes.
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Feb 27, 2009 8:51 am    Post subject:
Reply with quote

Hello,

Multiply lrecl * number-of-records and divide by 1024.
Back to top
View user's profile Send private message
arunkumar atr

New User


Joined: 03 Dec 2008
Posts: 19
Location: Chennai

PostPosted: Wed Nov 25, 2009 3:37 pm    Post subject:
Reply with quote

Hi,

If u know the length of DS in tracks, then here is the solution..

1 track = 56 KB
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Wed Nov 25, 2009 3:41 pm    Post subject: Reply to: How to know the length of a data set in KB
Reply with quote

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 icon_evil.gif

even the original question is badly posed...
the disk space allocated to the dataset..
or the space used inside the allocation??
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed Nov 25, 2009 3:51 pm    Post subject:
Reply with quote

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 icon_rolleyes.gif
Back to top
View user's profile Send private message
arunkumar atr

New User


Joined: 03 Dec 2008
Posts: 19
Location: Chennai

PostPosted: Wed Nov 25, 2009 4:28 pm    Post subject:
Reply with quote

Hi,

I would have mention it for 3390 DASD...

I refered the following link to get tat info...
http://groups.google.com/group/bit.listserv.ibm-main/msg/56b4078071adc588
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Wed Nov 25, 2009 5:24 pm    Post subject: Reply to: How to know the length of a data set in KB
Reply with quote

You misunderstood the sense of the sentence ...
the device geometry is used as a base to carry on all the subsequent calculations..
nowhere is said that the You would be able to store 56kb on a 3390 track

see
http://ibmmainframes.com/viewtopic.php?t=35906&postdays=0&postorder=asc&start=15
for the exact formulas
Back to top
View user's profile Send private message
arunkumar atr

New User


Joined: 03 Dec 2008
Posts: 19
Location: Chennai

PostPosted: Wed Nov 25, 2009 6:05 pm    Post subject:
Reply with quote

Hi enrico sorichetti,

I got the following info from the link.... http://www.lascon.co.uk/d008003.htm

It says tat in 3390-3 volume, we have 55,996 usable bytes per track...
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7905
Location: Bellevue, IA

PostPosted: Wed Nov 25, 2009 6:38 pm    Post subject:
Reply with quote

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
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed Nov 25, 2009 6:57 pm    Post subject: Re: How to know the length of a data set in KB
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7905
Location: Bellevue, IA

PostPosted: Wed Nov 25, 2009 7:10 pm    Post subject:
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Nov 25, 2009 7:14 pm    Post subject:
Reply with quote

Quote:
will bring the storage guys to your door in seconds with their baseball bats.

No, us storage guys are really nice people icon_biggrin.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7905
Location: Bellevue, IA

PostPosted: Wed Nov 25, 2009 7:58 pm    Post subject:
Reply with quote

Quote:
No, us storage guys are really nice people
You say that NOW! icon_biggrin.gif
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed Nov 25, 2009 8:21 pm    Post subject:
Reply with quote

The storage guys i know are my best friends (and yes after a lot of boozing is involved) icon_wink.gif
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 Nov 25, 2009 9:08 pm    Post subject:
Reply with quote

Robert Sample wrote:
Quote:
No, us storage guys are really nice people
You say that NOW! icon_biggrin.gif

Yeah, only because I've left my baseball bat at home today icon_cry.gif


PeterHolland wrote:
The storage guys i know are my best friends (and yes after a lot of boozing is involved) icon_wink.gif

Yes, we are easily bribable - Mine's a Leffe blonde thanks icon_lol.gif
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ODPP(Optim Data privacy Provider) Iss... Rama kishore IBM Tools 1 Mon Nov 07, 2016 5:46 pm
No new posts SQZ pipe delimited file with 1 column... Rick Silvers DFSORT/ICETOOL 2 Sun Nov 06, 2016 8:11 pm
No new posts Joinkeys operation when key1 and key2... Susanta DFSORT/ICETOOL 5 Wed Nov 02, 2016 5:35 pm
No new posts Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm
No new posts output data in CSV Format janmejay COBOL Programming 8 Sat Oct 15, 2016 2:20 pm


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