Showing posts with label CSV. Show all posts
Showing posts with label CSV. Show all posts

Aug 16, 2012

How can I create a CSV file with ODS?

A document that discusses How can I create a CSV file with ODS?
/* example 1: Release 8.1 */
ods xml body=’c:\test\test.csv’ type=csv;
proc print data=sashelp.class;
run;
ods xml close;
/* example 2: Release 8.2 and later */
ods csv body=”c:\test.csv”;
proc print data=sashelp.class;
run;
ods csv close;