For a while I used manual export in SAS guide (-> Export then choose csv instead of sasbdat) to export my database. Now I am trying to export it automatically. I sligthly modified the base SAS example to perform the export :
proc export data=work.data_test
outfile="c:\myfiles\test.csv"
dbms=csv
replace;
run;
But this is causing some type error when I try to read the file in python (Columns (1,2,5,6,9,[...]) have mixed types
), while I don't get this error when I export the file manually.
Those options:
Options NOFMTERR;
OPTIONS LOCALE=FRENCH;
are used to match the rest of my SAS code.
Any idea how to ensure consistence between the proc export and a manual export in SAS ?