Hi:
This seems a bit strange. I cannot duplicate your results using any of the methods below to create the CSV file (see the program below).
Perhaps your best resource for help would be for you to open a track with Tech Support.
cynthia
[pre]
data address;
length name $15 address $50;
infile datalines dsd;
input name $ age address $;
return;
datalines;
"Anne",12,"100, State Ave., USA"
"Bob",15,"123, Pudding Lane, Gooseland"
;
run;
proc print data=address;
run;
**1) Use ODS CSV;
ods csv file='c:\temp\addr.csv';
proc print data=address noobs;
var name age address;
run;
ods csv close;
**2) Use Proc Export;
proc export data=work.address
outfile= "c:\temp\addr_exp.csv"
dbms=csv replace;
run;
**3) Use a SAS macro program;
** see doc here: ;
/*
http://support.sas.com/documentation/cdl/en/lrdict/59540/HTML/default/a002683390.htm
*/
%ds2csv (data=work.address,
runmode=b,
csvfile=c:\temp\addr_mac.csv);
[/pre]