Antwort: How to calculate size of a PS dataset

2008-12-23 Thread Michael Klaeschen
Hi Parin,

the data set has 5 records in each block of 7.630 bytes. A track of 56.664 
bytes (assuming 3390 DASD) can contain 7 of your blocks. That are 53.410 
bytes per track. The data set has allocated 297.141 tracks, each 53.410 
bytes of data. That are 15.870.300.810 bytes (which fit in an amount of 
15.498.341 Ki-bytes, 15.136 Mi-bytes, 15 Gi-bytes) of a maximum size. 
Well, may be the last track contains only one record of 7.630 bytes or 
full 7 blocks with 35 records (267.050 bytes).
When you transfer the data from MVS to e.g. Windows you might need to 
consider certain other effects, e.g. insertion of new-line symbols, 
efficient handling of blank symbols (remember, you have RECFM=FB and 
potentially a lot of X'40') or character set conversion (especially when 
translating between single byte and double byte codes). So as usual: 
results may vary and clearly it depends.

Cheers 
Michael





Parin Gangar paringan...@gmail.com 
Gesendet von: IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU
23.12.2008 10:07
Bitte antworten an
IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU


An
IBM-MAIN@BAMA.UA.EDU
Kopie

Thema
How to calculate size of a PS dataset






Hi,

I need to calculate the size of a dataset in Megabytes / Gigabytes. I 
cannot 
download the file and check the same as I know the file size would be over 
50 
GB and I don't want to fill up my hard disk. 

The dataset has following details - 

Device type . . . . :,3390
Record format . . . :,FB
Record length . . . :,1526
Block size  . . . . :,7630
1st extent tracks . :,15000
Secondary tracks  . :,1500

Current Allocation,
,Allocated tracks  . :,297,141
,Allocated extents . :,190
, ,
, ,
Current Utilization,
,Used tracks . . . . :,297,141
,Used extents  . . . :,190

I tried searching this on Google, but didn't get anything. I know that 
there is 
some formula for this.

Any help will be much appreciated.

Thanks,
Parin

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


Re: Antwort: How to calculate size of a PS dataset

2008-12-23 Thread Lizette Koehler
One trick I like to use - go to option 3.2 and allocate the file in MB in
the panel.  Then copy the current dataset to this new one and see how much
space was requested in MB.  Requires no math.  Use the same attributes
except instead of cylinders use MB.

Lizette

 

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


Re: Antwort: How to calculate size of a PS dataset

2008-12-23 Thread Vernooy, C.P. - SPLXM


Lizette Koehler stars...@mindspring.com wrote in message
news:01c96502$a2b37660$e81a63...@com...
 One trick I like to use - go to option 3.2 and allocate the file in MB
in
 the panel.  Then copy the current dataset to this new one and see how
much
 space was requested in MB.  Requires no math.  Use the same attributes
 except instead of cylinders use MB.
 
 Lizette
 
  

I think this is quite a labor intensive and CPU expensive way to avoid
the maths (297141*55/100) on this 16GB dataset.

Kees.
**
For information, services and offers, please visit our web site:
http://www.klm.com. This e-mail and any attachment may contain
confidential and privileged material intended for the addressee
only. If you are not the addressee, you are notified that no part
of the e-mail or any attachment may be disclosed, copied or
distributed, and that any other action related to this e-mail or
attachment is strictly prohibited, and may be unlawful. If you have
received this e-mail by error, please notify the sender immediately
by return e-mail, and delete this message. 

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries
and/or its employees shall not be liable for the incorrect or
incomplete transmission of this e-mail or any attachments, nor
responsible for any delay in receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal
Dutch Airlines) is registered in Amstelveen, The Netherlands, with
registered number 33014286 
**

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