What's New in SAS 9.0, 9.1, and 9.1.3 Output Delivery System
Overview
The Output Delivery System (ODS) provides an almost
limitless number of choices for reporting and displaying analytical results
now with a greater variety of formatting selections and output destinations.
SAS 9.0, 9.1, and 9.1.3 provide an array of markup languages
including HTML4 and XML. The TEMPLATE procedure and the new tagset template
enable you to modify any markup language that SAS provides, or to create your
own markup language for output.
The new experimental ODS GRAPHICS statement enables
you to produce graphics output.
The new DOCUMENT procedure enables you to customize
or modify your output hierarchy and replay your output to different destinations
without rerunning the PROC or DATA step.
Note:
-
This section describes the features of the SAS
Output Delivery System that are new or enhanced since SAS 8.2.
-
z/OS is the successor to the OS/390 operating
system. SAS 9.1 and 9.1.3 are supported on both OS/390 and z/OS operating
systems. Unless otherwise stated, any reference to z/OS in this document also
applies to OS/390.
Details
SASEDOC Engine
Beginning with SAS 9.1, the new SASEDOC libname engine
enables you to associate a SAS libref (library reference) with one or more
output objects that are stored in an ODS document as a SAS data set.
ODS Statements
Beginning with SAS 9.0, the following ODS statements
are new:
-
ODS CHTML
-
produces compact, minimal HTML output with
no style information.
-
ODS CSVALL
-
produces output that contains columns of
data values that are separated by commas. ODS CSVALL produces tabular output
with titles, notes, and bylines.
-
ODS DOCBOOK
-
produces XML output that conforms to the
DocBook DTD by OASIS.
-
ODS DOCUMENT
-
produces a hierarchy of output objects that
enables you to create multiple ODS output formats without rerunning a PROC
or DATA step.
-
ODS HTMLCSS
-
produces HTML output with cascading stylesheets
that is similar to ODS HTML output.
-
ODS IMODE
-
produces HTML output as a column of output
that is separated by lines.
-
ODS MARKUP
-
produces SAS output that is formatted using
one of many different markup languages.
- Beginning with SAS 9.1.3 Service Pack 4, the following options
are new:
- EVENT=
-
specifies an event and the value for event variables that
are associated with the event.
- TEXT=
-
specifies the value for the TEXT event variable.
- Beginning with SAS 9.1.3 Service Pack 4, the following suboption
is new:
- TITLE=
-
inserts into the metadata of a file, the text string that
you specify as the text to appear in the browser window title
bar.
-
ODS
PCL
-
produces printable output for PCL (HP LaserJet)
files.
-
ODS PDF
-
produces PDF output.
-
ODS PHTML
-
produces basic HTML output that uses twelve
style elements and no class attributes.
-
ODS PS
-
produces PostScript (PS) output.
-
ODS
WML
-
produces a Wireless Markup Language (WML)
DTD with a simple list of URLs for a table of contents.
Beginning with SAS 9.1, the following ODS statements are
new:
-
ODS DECIMAL_ALIGN
-
aligns values by the decimal point in numeric
columns when no justification is specified.
-
ODS GRAPHICS
(Experimental)
-
enables ODS automatic graphic capabilities.
-
ODS
USEGOPT
-
enables the use of graphics option settings
for graphic output.
Beginning with SAS 9.1, the following statements now support new
options:
- ODS PRINTER
-
-
Beginning with SAS 9.1, the following options
are new:
-
BACKGROUND=
-
specifies whether background colors are
printed in text.
-
BOOKMARKLIST=
-
specifies whether to generate and display
the list of bookmarks for a PDF file.
-
BOOKMARKGEN=
-
controls the generation of bookmarks in
a PDF file.
-
COLUMNS=
-
specifies the number of columns to create
on each page of output.
-
TEXT=
-
inserts text into your
output.
- ODS RTF
-
-
Beginning with SAS 9.1.3 Service Pack 4, the following
options are new:
- BODYTITLE
-
specifies that SAS titles and footnotes are placed into
the body of the RTF document rather than into the headers and footers section
of the RTF document.
- CONTENTS
-
produces a table of contents page for RTF documents that
are opened in Microsoft Word.
- TOC_DATA | NOTOC_DATA
-
specifies whether or not contents data is embedded in the
RTF file as hidden text.
-
COLUMNS=
-
specifies the number of columns to create
on each page of output.
-
TEXT=
-
inserts text into your output.
ODS Procedures
-
DOCUMENT procedure
-
Beginning with SAS 9.0, the new
DOCUMENT procedure
enables you to do the following:
-
produce multiple reports with a single run of
a procedure or data query.
-
modify and customize your output file hierarchy
by rearranging, duplicating, or removing specific tables.
-
modify and customize your output file hierarchy
by rearranging, duplicating, or removing the entire output of procedures and
data queries.
-
generate output for one or more ODS destinations,
using the newly transformed output hierarchy.
-
store the ODS output objects in raw form. The
output is kept in the original internal representation as a data component
plus a table definition.
-
Beginning with SAS 9.1, the DOCUMENT procedure
enables you to do the following:
- list documents that are in a specified library with new LIB= option
in the DOC statement.
-
specify #BYLINE, #BYVAL, and #BYVAR directives
in seven of the PROC DOCUMENT statements.
-
use the AFTER option in the OBPAGE statement to
add or delete page breaks after output objects.
-
TEMPLATE
procedure
-
Beginning with SAS 9.0, the following new statements
are provided in the TEMPLATE procedure.
-
The DEFINE
TAGSET statement creates and modifies
tagset definitions using a new definition statement and the new tagset attribute
statements.
-
The DEFINE EVENT statement determines what is written
to the output file using the new definition statement and the new event attribute
statements.
- Beginning with SAS 9.1, the following new features are provided
in the TEMPLATE procedure.
-
The new boolean ABSTRACT= attribute can be applied
to styles. If this attribute is set to TRUE, then the style will not appear
in the CSS files or LaTeX style files.
-
The new ALT, LONGDESC, ACRONYM, and ABBR options
in the DEFINE TABLE, DEFINE COLUMN, and DEFINE HEADER statements provide accessibility
features in PROC TEMPLATE.
-
The following accessibility attributes have been
added to the TEMPLATE procedure.
ABBR= |
is a column, header, and footer attribute
that provides an abbreviated form of the cell's content, which can be displayed
in place of a cell's content. |
SUMMARY= |
is a table attribute that provides
a summary of the purpose and structure of a table. |
-
The new INDENT style element enables you to specify
the distance from the left side of a cell for indentation purposes. The INDENT
style element specifies where to begin the text.
-
The _LABEL_ keyword is now treated as a dynamic
variable, and it can be used just like any other dynamic variable in PROC
TEMPLATE. Previously, _LABEL_ was a keyword that could only be used by itself
in table and column headers.
-
In the TEMPLATE procedure, if you create HTML4
output, then the BORDERCOLORDARK and BORDERCOLORLIGHT style attributes are
ignored because they are not part of the HTML4 standard. If you want a color
border, then use the BORDER= style attribute.