SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 23652: How can I create a CSV file with ODS?

DetailsAboutRate It

The ODS CSV and ODS CSVALL destinations can be used to generate files with comma separated values. The CSVALL destination includes titles, footnotes, notes, and BY lines.

   ods csv file="ODS_CSV.csv";
     proc print data=sashelp.class;
	     title "&sysver";
		 footnote "&sysdate";
     run;
   ods csv close;
   ods csvall file="ODS_CSVALL.csv";
     proc print data=sashelp.class;
	 	 title "&sysver";
		 footnote "&sysdate";
     run;
   ods csvall close;


Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASAlln/a
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.