Returns the size of a file in bytes. More...
Go to the source code of this file.
Provide full path/filename.extension to the file, eg:
%put %mf_getfilesize(fpath=C:\temp\myfile.txt); or data x;do x=1 to 100000;y=x;output;end;run; %put %mf_getfilesize(libds=work.x,format=yes); gives: 2mb
fpath= | full path and filename. Provide this OR the libds value. |
libds= | library.dataset value (assumes library is BASE engine) |
format= | set to yes to apply sizekmg. format |
Definition in file mf_getfilesize.sas.