You receive "ERROR: Export unsuccessful" when you use PROC EXPORT with DBMS=CSV


In SAS® 9.4 TS1M4 and SAS® 9.4 TS1M5, the following error might occur when you use PROC EXPORT with the DBMS=CSV option:

Error: Export unsuccessful

To work around this issue, use name-literal syntax for the DATA= option as shown in the example below:

proc export data=lib.'baseball'n
outfile="c:\test.txt"
dbms=csv replace;
run;