%macro csvOut(dataset, path, outname);
%if &OUTNAME EQ %THEN %let outname = &dataset ;
proc export
data = &dataset
outfile="&path./&outname..csv"
dbms=csv
replace;
run;
%mend; This is my macro for export csv, I don't know if you can use it !
... View more