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 <[email protected]> 
Gesendet von: IBM Mainframe Discussion List <[email protected]>
23.12.2008 10:07
Bitte antworten an
IBM Mainframe Discussion List <[email protected]>


An
[email protected]
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 [email protected] 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 [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