The following list corresponds to the numbered items in the preceding program:
By default, the HTML destination is open. To conserve resources, the ODS HTML
CLOSE statement closes this destination.
The ODS OUTPUT statement opens the Output destination and specifies the
permanent data set to create from the output object BasicMeasures.
The UNIVARIATE procedure produces summary statistics for the average SAT
scores of entering first-year college students. The output is grouped by the CLASS
The ODS OUTPUT CLOSE statement closes the Output destination.
The ODS HTML statement reopens the default HTML destination so that the next
program that you run can produce HTML output.
The following SAS log shows that the WORK.MEASURES data set was created with
the ODS OUTPUT statement:
Log 34.3 Partial SAS Log: SAS Data Set Creation
168 ods html close;
169 ods output BasicMeasures=measures;
172 proc univariate data=sat_scores;
174 var SATscore;
175 class Gender;
NOTE: The data set WORK.MEASURES has 8 observations and 6 variables.
NOTE: PROCEDURE UNIVARIATE used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
178 ods output close;
179 ods html;
NOTE: Writing HTML Body file: sashtml3.htm
Customizing ODS Output
Customizing ODS Output at the Level of a SAS Job
ODS provides a way for you to customize output at the level of the SAS job. To do this,
you use a style template, which describes how to show such items as color, font face,
font size, and so on. The style template determines the appearance of the output. The
FancyPrinter style template is one of several that is available with SAS.
To view the available ODS style templates, run the following code:
Customizing ODS Output 667