We have a requirement to enclose a variable values in double quotes and output a txt file. To do that we have used quote function and also quote format. They look fine in the SAS but when we output using proc export its giving the 3 double quotes instead of single double quote before and after the variable value. We are using the below code as example: data fr; set sashelp.cars; /*format model quote.;*/ model=quote(model); run; filename test 'path\T1.txt' ; proc export data = fr outfile = test DBMS=tab REPLACE; run; Expected variable value- "value" Quote function result -"""value" Quote format result-"""value"""
... View more