Thanks! I'm not understanding how to write the file path and am getting an error: 3868 %let filepath=S:\2013\SR\Excel Files\Sample; 3869 3870 filename files pipe "dir/b %bquote(&filepath.\*.xlsx)"; 3871 3872 data _null_; 3873 3874 infile files truncover; 3875 3876 length filename $20.; 3877 3878 input; 3879 3880 filename=scan(_infile_,1); 3881 3882 call execute( 3883 3884 'proc import out='||filename|| 'datafile="%bquote(&filepath.)\'||strip(filename)||'.xlsx" 3884! dbms=xlsx replace; 3885 3886 run;' 3887 3888 ); 3889 3890 run; NOTE: The infile FILES is: Unnamed Pipe Access Device, PROCESS=dir/b S:\2013\SR\Excel Files\Sample\*.xlsx, RECFM=V,LRECL=256 Stderr output: The system cannot find the path specified. NOTE: 0 records were read from the infile FILES. NOTE: DATA statement used (Total process time): real time 0.11 seconds cpu time 0.01 seconds
... View more