|
|
why filesize is different?
I use windows system, and run follows code, why filesize is different?
thanks a lot.
sql: 8192, and contents: 5120
data test;
a=1;
run;
proc sql;
select filesize from dictionary.tables
where upcase(libname)='WORK'
and upcase(memname)='TEST';
quit;
==================================
ods output "Library Members"=LibInfo;
proc contents data=test memtype=DATA ;
run;
ods output close;
|
|
0
|
|
|
|
Reply
|
jiyuan123
|
1/13/2010 2:18:29 AM |
|
My guess is that the drive in question is formatted with 4k blocksize
and the difference is allocated space minus used space.
Proc SQL is reporting the ALLOCATED space
Proc Contents is reporting the USED space
The difference is UNUSED or WASTED space for that file.
I get the same or equivalent differences for SAS files on drives
formatted with blocksizes of 1K, 4K, and 8K
.... Mark Miller
2010/1/12 =E7=BA=AA=E5=85=83 <jiyuan123@gmail.com>
> I use windows system, and run follows code, why filesize is different?
> thanks a lot.
>
>
> sql: 8192, and contents: 5120
>
> data test;
> a=3D1;
> run;
>
> proc sql;
> select filesize from dictionary.tables
> where upcase(libname)=3D'WORK'
> and upcase(memname)=3D'TEST';
> quit;
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> ods output "Library Members"=3DLibInfo;
> proc contents data=3Dtest memtype=3DDATA ;
> run;
> ods output close;
>
|
|
0
|
|
|
|
Reply
|
mdhmiller
|
1/13/2010 3:49:24 AM
|
|
|
1 Replies
262 Views
(page loaded in 0.031 seconds)
Similiar Articles: why filesize is different? - comp.soft-sys.sasI use windows system, and run follows code, why filesize is different? thanks a lot. sql: 8192, and contents: 5120 data test; a=1; run; ... Re: Creating one report with columns based on different subsets ...why filesize is different? - comp.soft-sys.sas Re: Creating one report with columns based on different subsets ... There are two series of almost identical DATA steps ... Computers V People - comp.sys.mac.appsSome are different. > Why or why not? They came from different parents. ... sys.mac.apps... around, but if I were going to buy any big ... File size difference ... shrinking page size when using notes - comp.text.frameFile size difference, InDesign vs Distiller - comp.text.pdf ... Adobe Acrobat 6.0 Standard error: File ... desired) Set "Shrink to fit Page Size ... "df" reports wrong size of filesystem - comp.unix.solaris ...... it reports file handles (pointers), and the last known file size ... name is merely a pointer to the file, which explains why one can have several "hard links", or different ... Solidworks vs. Catia vs. ProE - comp.cad.solidworksWhy don't you search this newsgroup ... Solidedge vs Solidworks big difference? - comp.cad.solidworks ..... around, but if I were going to buy any big ... File size ... Automatically generating password for passwd - comp.sys.hp.hpux ...File size difference, InDesign vs Distiller - comp.text.pdf ... Now ID's automatically generated table of content bookmarks seem to be the only ... df output after deleting large file - comp.unix.solaris... 7627797 3667729 3883791 49% /scratch Just curious why "df ... noticed strange output of "df" Before: Filesystem ... Why command df and du reports different output ... Bitmap help - comp.os.ms-windows.programmer.win32... 3D headerSize + dataSize; > > =A0 HGLOBAL hBmp =3D GlobalAlloc(GHND, fileSize ... 4bits/px hbmp into a hdcmem compatible to your window, which could have different ... New version of EcoSqueeze Out - comp.cad.solidworksJust out of curiosity - What's different about the new ... so configurations and was trying to reduce his file size ... Thanks for the Explorer extension, why did you only ... why filesize is different? - comp.soft-sys.sas | Computer GroupI use windows system, and run follows code, why filesize is different? thanks a lot. sql: 8192, and contents: 5120 data test; a=1; run; ... why filesize is different? - sas - Mofeel Groupssas, why filesize is different? comp.soft-sys.sas - The SAS statistics package. 7/23/2012 2:47:17 AM
|
|
|
|
|
|
|
|
|