I was able to create a macros to compile the list of files in my directory, just to see if that was the issue. /*compiled directory*/ %macro get_filenames(location); filename pipedir pipe "dir ""%unquote(&location)"" /b"; data files; infile pipedir truncover; input filename $256.; put filename=; run; filename pipedir clear; %mend; %get_filenames(C:\Users\Owner\Desktop\SAS Project\ACL CSV files) Unfortunately I'm still running into the same issue with the previous syntax, even after adjusting the infile statement. Are there any examples of alternative syntax (with or without macros) you recommend looking at, or if your willing to show me how to arrange what I have in a way that might be more efficient? - SMR /*adjusted syntax*/ options mprint; %macro MultImp(dir=,out=); %let rc=%sysfunc(filename(mydir,&dir)); %let did=%sysfunc(dopen(mydir)); %put dir=&dir; %put did=&did; %let filrf=MYDIR; %let lstname=; %let memcount=%sysfunc(dnum(&did)); %if &memcount > 0 %then %do; %do i=1 %to &memcount; %let lstname=%sysfunc(dread(&did,&i)); %let file=&dir.&lstname; data files; infile "dir ""&mydir\BTLT4-*.csv"" /b" pipe truncover; input filename $256.; run; proc append data=_&i base=&out; run; proc delete data=_&i; run; %end; %let rc=%sysfunc(dclose(&did)); %end; %mend MultImp; %MultImp(dir=C:\Users\Owner\Desktop\SAS Project\ACL CSV files\,out=File);
... View more