Understanding and Customizing SAS Output: The Output Delivery System (ODS) |
ODS Statements |
specifies one or more output objects to add to an exclusion list.
opens the HTML destination and specifies the HTML file or files to write to. After the destination is open, you can create output that is written in Hyper Text Markup Language (HTML).
You can specify up to four HTML files to write to. The specifications for these files have the following form:
identifies the file that contains the HTML output.
Alias: | FILE= |
identifies the file that contains a table of contents for the HTML output. The contents file has links to the body file.
identifies the file that integrates the table of contents, the page contents, and the body file. If you open the frame file, you see a table of contents, a table of pages, or both, as well as the body file. If you specify FRAME=, you must also specify CONTENTS= or PAGE= or both.
identifies the file that contains a description of each page of the body file and links to the body file. ODS produces a new page of output whenever a procedure explicitly asks for a new page. The SAS system option PAGESIZE= has no effect on pages in HTML output.
The STYLE= option enables you to choose HTML presentation styles.
opens the Listing destination.
Note: The Listing destination is open by default.
closes the Listing destination so that no Listing output is created.
opens the Output destination and converts one or more output objects to a SAS data set.
opens the Printer destination and specifies the file to write to. The PS (PostScript) option ensures that you create a generic PostScript file. If this option is missing, ODS produces output for your current printer.
opens the RTF destination and specifies the file to write to. After the destination is open, you can create RTF output.
closes the specific destination and enables you to view the output.
specifies one or more output objects to add to a selection list.
turns the writing of the trace record on or off. Turning trace on is useful because the results list the output objects that your program creates.
Procedures |
PROC MEANS DATA=SAS-data-set <FW=>;
provides data summarization tools to compute descriptive statistics for variables across all observations and within groups of observations. The DATA= option specifies the input SAS data set, and FW= specifies the field width for statistics.
The CLASS statement specifies the variables whose values define the subgroup combinations for the analysis.
The VAR statement identifies the analysis variables and determines their order in the output.
creates an ODS table definition. The DEFINE statement uses the COLUMN and HEADER statements to create column and table headings.
PROC UNIVARIATE DATA=SAS-data-set;
provides data summarization tools and information about the distribution of numeric variables. The DATA= option specifies the input SAS data set.
The VAR statement identifies the analysis variables and determines their order in the output.
The CLASS statement specifies up to two variables whose values define the classification levels for the analysis.
The BY statement calculates separate statistics for each BY group.
Copyright © 2012 by SAS Institute Inc., Cary, NC, USA. All rights reserved.