Thanks Tom, I'm using SAS EG, so I'm able to import one .CSV into SAS successfully, which generates its own LENGTH, FORMAT & INFORMAT statements. After that I added your code below and replace " input var1-var20" with the INPUT from the SAS EG generated code. I also replaced the first inpath with the correct path. When I run this code, it creates an empty dataset instead of the combined dataset that I'm looking for. I appreciate your assistance. Thanks %let inpath=C:\MyDataFolder; data bigfile; length fname $256 ; infile "&inpath\*.csv" filename=fname truncover; input @; if fname ne lag(fname) then delete; input var1-var20; run;
... View more