---------------------------------<snip>--------------------------
I have to agree. It is hard to believe that such a talented group of people can construct a Rube Goldberg so quickly.

The OP asked how to calculate the size of the file in MB or GB. Gadi responded with the exact answer:

"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."

What other answer could there possibly be? He did not ask how many MB would it use on Windows or *NIX. He did not ask how big is the file after removing block gaps.

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.
-----------------------------<unsnip>-------------------------------
Ron, I disagree. The OP posted a non-optimal BLKSIZE value and that can make a BIG difference in the number of tracks required, as you well know. And the presence of absence of interblock gaps can make a HUGE difference. Bytes of data vs. space utilized can be vastly different if inefficient methods/sizes are used.

I have to go along with this calculation:

  (Bytes per block) * (Blocks per track) * total number of tracks

as yielding a far more accurate value.

Happy Holidays to all our friends on this list, and also to Darren and his family.

--
Rick
--
Remember that sone days you're the pigeon, other days you're the statue.

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

Reply via email to