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:
To work around this issue, use name-literal syntax for the DATA= option as shown in the example below: