October 2009
Beginner
636 pages
13h 35m
English
With other procedures, you use ODS OUTPUT to create an output data set. With the REPORT and TABULATE procedures, you can also create an output data set directly from the procedure. This is much easier than using ODS, because you don't have to worry about output object names or multiple output data set names.
A simple OUT= option in the PROC TABULATE statement is all you need to tell SAS to generate a data set with the same information as the tabular output.
proc tabulate data=furniture OUT=totaltables; class Type Material; var Price; table Type='Table Type'* Material='Construction', Price='Average Price'*Mean=" "*f=dollar8.; run; ODS HTML BODY='tabtotals.html' STYLE=sasweb; proc print data=totaltables; ...
Read now
Unlock full access