I'm trying to import series of CSV files with a macro that loops thru all the files in the given folder.But, there are some empty CSV files in the folder which I would like to exclude from the loop. Is there any way in SAS to find CSV file size ?
PROC IMPORT OUT=&output
DATAFILE= "&input"
DBMS=CSV REPLACE;
GETNAMES=YES;
DATAROW=2;
*GUESSINGROWS=32000;
RUN;
Thanks, Sam.