use the ODS PDF statement to create PDF files for viewing with Adobe Acrobat or
for printing. You can use the ODS EPUB statement to create output for e-book
readers. The ODS RTF statement creates output for Microsoft Word. For complete
documentation on the ODS destination statements, see Chapter 6, “Dictionary of
ODS Language Statements,” on page 105.
Customize the report contents.
ODS enables you to modify the contents of your output. With ODS, you can embed
graphics, select specific cell contents to display, and create embedded links in tables
and graphs. You can select specific tables or graphs from procedure output to be
printed or you can exclude them. You can create SAS data sets directly from tables
Customize the presentation.
ODS enables you to change the appearance of your output. You can change the
colors, fonts, and borders of your output. You can customize the layout, format,
headers, and style. You can add images and embedded URLs.
Create more accessible SAS output.
The ODS EPUB and ODS EPUB3 destinations are the recommended destinations for
creating SAS output that is accessible to the broadest audience. They create e-books
that use many of the accessibility features of the EPUB specification. These features
allow e-book readers such as iBooks to present e-books so that they adapt to the
needs of users with disabilities. For example, when reading an e-book created by the
ODS EPUB and ODS EPUB3 destinations using iBooks on an iPad, users can adjust
font size, color schemes, and magnification. They can also access the text using
assistive technologies such as the Voiceover screen reader and refreshable braille
Gallery of ODS Samples
Introduction to the ODS Samples
This section shows you samples of the different types of formatted output that you can
produce with ODS. For the complete programs that create these samples, see “Examples
from the Gallery of ODS Samples” on page 1068.
With the ODS EPUB statement, you can create an e-book for use with e-book readers.
iBooks on iPad is the preferred e-book reader. Results can vary using other e-book
readers. See “ODS EPUB Statement” on page 211 for more information.
4 Chapter 1 • Getting Started with the Output Delivery System
Figure 1.1 EPUB Book Title Page
Figure 1.2 EPUB Book
With ODS, you can produce tabular output, which can be viewed with Excel.
Gallery of ODS Samples 5
Figure 1.3 Markup Destination Output Viewed with Excel
The ODS Graph Template Language (GTL) applies accepted principles of graphics
design to produce plots that are clean and uncluttered. For more information about ODS
graphics, see “TEMPLATE Procedure: Creating ODS Graphics” in SAS Output Delivery
System: Procedures Guide.
Figure 1.4 Model Fit Plot Using Mytemplate and Sashelp.ClassFit
6 Chapter 1 • Getting Started with the Output Delivery System
Figure 1.5 PROC SGSCATTER (SAS) with LISTING Style
Gallery of ODS Samples 7
Figure 1.6 Custom Template Rendered with PROC SGRENDER (SAS) and a Custom Style
With ODS, you can produce output in HTML (HyperText Markup Language.) In the
SAS Windowing Environment, ODS is created by default. You can browse these files
with Internet Explorer or any other browser that fully supports HTML 4.0. In the SAS
Windowing Environment, you do not need to change your SAS programs to create
HTML 4.0 output that contains embedded style sheets. SAS continues to create HTML
even if you open a different destination, unless you specify the ODS HTML CLOSE
statement. If you want to add more formatting to your HTML, use the ODS HTML
Note: To create HTML 3.2 output, use the ODS HTML3 statement.
8 Chapter 1 • Getting Started with the Output Delivery System