Shmuel,

So what is your answer to the question?

In the meantime, when the minimum allocation unit I can use is a track, and
a track has 56664 bytes, the that will be the size of the file. If the op
asked how many bytes of data is in his file than I would employ some other
method.

The OP did not ask how much to allocate - he asked how much is allocated.
Factors for block gaps and end-of-track waste are already factored into the
existing file allocation. You are operating in the wrong tense.


Ron

M:  An argument isn't just contradiction.
A:   It can be.
M:  No it can't. An argument is a connected series of statements intended to
establish a proposition.
A:   No it isn't.
M:  Yes it is! It's not just contradiction.
A:   Look, if I argue with you, I must take up a contrary position. 
M:  Yes, but that's not just saying 'No it isn't.'
A:   Yes it is!
M:   No it isn't!

A:   Yes it is!
M:  Argument is an intellectual process. Contradiction is just the automatic
gainsaying of any statement the other person makes.
(short pause)
A:  No it isn't.



> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
Behalf Of
> Shmuel Metz (Seymour J.)
> Sent: Wednesday, December 24, 2008 7:33 AM
> To: IBM-MAIN@bama.ua.edu
> Subject: Re: [IBM-MAIN] How to calculate size of a PS dataset (no, no yet
> again)
> 
> In <003a01c96526$7e55bac0$7b0130...@hawkins1960@sbcglobal.net>, on
> 12/23/2008
>    at 09:47 AM, Ron Hawkins <ron.hawkins1...@sbcglobal.net> said:
> 
> >The OP asked how to calculate the size of the file in MB or GB. Gadi
> >responded with the exact answer:
> 
> No.
> 
> >"A track on a 3390 type disk has 56,664 bytes. If you multiply the
> >number of tracks (297,141) by that you get 16,837,197,624 or about
> >16GB."
> 
> Which doesn't tell the OP how much he can record in that space with the
> specified block size. To every question there is an answer that is simple,
> obvious and wrong.
> 
> >If you allocate the file using MB notation it will be converted to
> >tracks based on 56664 bytes. Ipso facto tracks times 56664 gives you the
> >size in MB on an MVS system.
> 
> No, at best it gives you the amount to specify on a DD statement, not the
> actual size.
> 
> --
>      Shmuel (Seymour J.) Metz, SysProg and JOAT
>      ISO position; see <http://patriot.net/~shmuel/resume/brief.html>
> We don't care. We don't have to care, we're Congress.
> (S877: The Shut up and Eat Your spam act of 2003)
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to