Contents
About
What's New in SAS 9.2 Output Delivery System
Introduction
Getting Started with the Output Delivery System
Welcome to the Output Delivery System
Accessibility Features in ODS
A Quick Start to Using ODS
Where to Go from Here
Concepts
ODS Concepts
Introduction to the Output Delivery System
Gallery of ODS Samples
Overview of How ODS Works
Understanding ODS Destinations
Understanding Table Templates, Table Elements, and Table Attributes
Understanding Styles, Style Elements, and Style Attributes
Understanding Item Stores, Template Stores, and Directories
Changing SAS Registry Settings for ODS
Customized ODS Output
Summary of ODS
Output Delivery System and the DATA Step
Using ODS with the DATA Step
How ODS Works with the DATA Step
Syntax for ODS Enhanced Features in a DATA Step
Examples
ODS Language Statements
Introduction to ODS Language Statements
Definition of ODS Statements
Types of ODS Statements
ODS Statement Category Descriptions
ODS Statements by Category
Dictionary of ODS Language Statements
FILE Statement for ODS
LIBNAME Statement, SASEDOC
PUT Statement for ODS
ODS _ALL_ CLOSE Statement
ODS CHTML Statement
ODS CSVALL Statement
ODS DECIMAL_ALIGN Statement
ODS DOCBOOK Statement
ODS DOCUMENT Statement
ODS ESCAPECHAR Statement
ODS EXCLUDE Statement
ODS GRAPHICS Statement
ODS HTML Statement
ODS HTMLCSS Statement
ODS HTML3 Statement
ODS IMODE Statement
ODS LISTING Statement
ODS MARKUP Statement
ODS OUTPUT Statement
ODS PACKAGE Statement
ODS PATH Statement
ODS PCL Statement
ODS PDF Statement
ODS PHTML Statement
ODS PRINTER Statement
ODS PROCLABEL Statement
ODS PROCTITLE Statement
ODS PS Statement
ODS RESULTS Statement
ODS RTF Statement
ODS SELECT Statement
ODS SHOW Statement
ODS Tagset Statement
ODS TAGSETS.RTF Statement
ODS TEXT= Statement
ODS TRACE Statement
ODS USEGOPT Statement
ODS VERIFY Statement
ODS WML Statement
The DOCUMENT Procedure
The DOCUMENT Procedure
Overview: DOCUMENT Procedure
Syntax: DOCUMENT Procedure
PROC DOCUMENT Statement
COPY TO Statement
DELETE Statement
DIR Statement
DOC Statement
DOC CLOSE Statement
HIDE Statement
IMPORT TO Statement
LINK Statement
LIST Statement
MAKE Statement
MOVE TO Statement
NOTE Statement
OBANOTE Statement
OBBNOTE Statement
OBFOOTN Statement
OBPAGE Statement
OBSTITLE Statement
OBTEMPL Statement
OBTITLE Statement
RENAME TO Statement
REPLAY Statement
SETLABEL Statement
UNHIDE Statement
Customizing Labels, Titles, and Footnotes with BY Variables
Using WHERE Expressions with the DOCUMENT Procedure
Concepts: DOCUMENT Procedure
Results: DOCUMENT Procedure
Examples: DOCUMENT Procedure
Navigating the File Location and Listing the Entries
Opening and Listing ODS Documents
Managing Entries
Listing BY-Group Entries
The TEMPLATE Procedure
TEMPLATE Procedure: Overview
Introduction to the TEMPLATE Procedure
Terminology: TEMPLATE Procedure
PROC TEMPLATE Statements by Category
Syntax: TEMPLATE Procedure
Where to Go from Here
TEMPLATE Procedure: Managing Template Stores
Overview: Template Stores
Template Store Syntax: TEMPLATE Procedure
PROC TEMPLATE Statement
DELETE Statement
LINK Statement
LIST Statement
PATH Statement
SOURCE Statement
TEST Statement
Concepts: Template Stores and the TEMPLATE Procedure
Examples: Managing Template Stores Using the TEMPLATE Procedure
Listing Templates in a Template Store
Using a WHERE Expression to Select Items in a Template Store
Viewing the Source of a Template
TEMPLATE Procedure: Creating Crosstabulation Table Templates
Overview: ODS Crosstabulation Table Template Output
Crosstabulation Table Syntax: TEMPLATE Procedure
DEFINE CROSSTABS Statement
DEFINE CELLVALUE Statement
CELLVALUE Statement
DEFINE FOOTER Statement
DEFINE HEADER Statement
END Statement
Concepts: Crosstabulation Output and the TEMPLATE Procedure
Examples: Modifying Crosstabulation Output Using the TEMPLATE Procedure
Creating a Customized Table Template with No Legend
Creating a Template with a Customized Legend
Adding Custom Formats to Cellvalues
TEMPLATE Procedure: Creating ODS Graphics
Introduction to the Graph Template Language
STATGRAPH Syntax: TEMPLATE Procedure
Where to Go from Here
TEMPLATE Procedure: Creating a Style Template (Definition)
Overview: ODS Style Templates (Definitions)
Style Syntax: TEMPLATE Procedure
PROC TEMPLATE Statement
DEFINE STYLE Statement
Style Attributes and Their Values
Concepts: Styles and the TEMPLATE Procedure
Examples: Creating and Modifying Styles Using the TEMPLATE Procedure
Creating a Stand-Alone Style
Using User-Defined Attributes
Modifying the Default Style
Defining a Table and Graph Style
Defining Multiple Style Elements in One STYLE Statement
Importing a CSS file
Table Header and Footer Border Formatting
TEMPLATE Procedure: Creating Tabular Output
Overview: ODS Tabular Output
Tabular Syntax: TEMPLATE Procedure
EDIT Statement
DEFINE COLUMN Statement
DEFINE FOOTER Statement
DEFINE HEADER Statement
DEFINE TABLE Statement
ODS Output Object Table Names
Concepts: Tabular Output and the TEMPLATE Procedure
Examples: Modifying Tabular Output by Using the TEMPLATE Procedure
Editing a Table Template That a SAS Procedure Uses
Comparing the EDIT Statement with the DEFINE TABLE Statement
Creating a New Table Template
Setting the Style Element for Cells Based on Their Values
Setting the Style Element for a Specific Column, Row, and Cell
Creating Master Templates
Table Header and Footer Border Formatting
TEMPLATE Procedure: Creating Markup Language Tagsets
Overview: ODS Tagsets and the TEMPLATE PROCEDURE
Markup Language Syntax: TEMPLATE Procedure
DEFINE TAGSET Statement
Event Variables
Concepts: Markup Languages and the TEMPLATE Procedure
Examples: Creating and Modifying Markup Languages Using the TEMPLATE Procedure
Creating a Tagset through Inheritance
Creating a Tagset by Copying a Tagset's Source
Creating a New Tagset
Executing Events Using the TRIGGER= Statement
Indenting Output
Using Different Styles for Events
Modifying an Event to Include Other Stylesheets
Using the STACKED_COLUMNS Attribute in a Tagset
Appendices
Example Programs
Creating the $CNTRY Format
Creating the Charity Data Set
Creating the DIVFMT. and USETYPE. Formats
Creating the Univ ODS Document
Creating the Employee_Data Data Set
Creating the Energy Data Set
Creating the Exprev Data Set
Creating the Gov Data Set
Creating the Grain_Production Data Set
Creating the Iron Data Set
Creating the Model Data Set
Creating the Plants Data Set
Creating the Plant_Stat Data Set
Creating the StatePop Data Set
Creating the Table1 Table Definition
Programs That Illustrate Inheritance
Creating the Nlits Data Set
ODS and the HTML Destination
HTML Links and References Produced by the HTML Destination
Files Produced by the HTML Destination
Alternative ODS HTML Statements
Using a z/OS UNIX System Services HFS Directory for HTML Output
Using a z/OS PDSE for EBCDIC HTML Output
Using a z/OS PDSE for ASCII HTML Output
ODS Style Elements
General ODS Style Elements
Style Elements Affecting Template-Based Graphics
Style Elements Affecting Device-Based Graphics
Recommended Reading
Glossary
Product
Release
Base SAS
9.2
SAS/GRAPH
9.2
SAS/GRAPH ODS Graphics Designer
SAS/GRAPH ODS Graphics Editor
9.2
SAS/STAT
9.2
Type
Usage and Reference
Copyright Date
February 2009
Last Updated
24Nov2008