411 REFERENCE · Wikibooks
SAS/Publication Quality Ouput
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Weaving
See Lenth RV, Hojsgaard S. 2007. SASweave: Literate programming using SAS. Journal of Statistical
Software 19: 1{20. URL http://www.jstatsoft.org/v19/i08/
Output Delivery System
With the output delivery system (ODS), you can store objects in various formats. ODS offers a set of methods for converting standard output to variouw destinations.
Listing The standard SAS output window
RTF Microsoft Office Documents
LaTeX The markup language for scientific publication.
HTML to write web pages.
Output SAS datasets.
You can see the current settings for each ODS destination by using the ODS SHOW statement :
ods output show ;
ods listing show ;
ODS TRACE
For each PROC, you can see the list of exportable objects by using the 'ODS TRACE' statement :
ods trace on/listing;
proc freq data=sashelp.class;
table age sex;
run;
ods trace off;
ODS OUTPUT
You can export objects to SAS datasets
ods exclude all;
ods output onewayfreqs=exemple_ods (keep=age frequency percent);
proc freq data=sashelp.class;
table age;
run;
ods output clear;
ods exclude none;
See Also
PROC DOCUMENT