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;
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;
proc print data=sashelp.class;
run;
ods csv close;
Read other techniques…http://sastechies.blogspot.com/2009/11/sas-macro-to-create-delimited-text-file.html
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.