Book description
Incorporating broad coverage of the best ODS features in one book, Output Delivery System: The Basics and Beyond goes beyond Lauren Haworth's original ODS text to demonstrate the many new and enhanced features of ODS and SAS 9.2. With SAS 9.2, ODS provides a myriad of choices for reporting and displaying analytical results with a greater variety of formatting selections and output destinations. As experienced SAS users, Lauren E. Haworth, Cynthia L. Zender, and Michele M. Burlew know how important it is to be able to produce customized output in different formats to meet the needs of clients.Geared toward all levels of SAS users, Output Delivery System: The Basics and Beyond is an example-driven book that presents each of the wide array of ODS techniques in an easy-to-use, two-page layout, with the text and code on one page and the resulting output on the facing page. The book begins with basic syntax and progresses to more complex techniques and custom styles. You will learn to take basic SAS output and transform it into an HTML page, a word-processor-friendly RTF file, or printer-friendly PDF output. You'll learn how to generate a table of contents page for RTF and PDF files, generate bookmarks for PDF files, and generate custom page numbering for those destinations. You will also learn the basic concepts of changing style templates, using table templates with the DATA step, and using tagset templates to generate custom markup language tags and output. Other new features of ODS are also discussed, such as the ODS Graphics Framework and the new ODS Statistical Graphics procedures.
Table of contents
- Praise from the Experts
- Copyright
- Acknowledgments
- About This Book
- Introduction
-
The Basics
-
HTML Output
- Generating Your First HTML File
- Exploring the Body File: The Basics of HTML
- Exploring the HTML Body File: Graphics
- Combining the Results of Several Procedures
- Generating a Table of Contents
- Exploring the Frame File
- Breaking Up Output into Separate Files
- Simulating Page Breaks Using Cascading Style Sheets
- More on Page Breaks Using the NEWFILE= Option
- Changing Procedure Labels in the Table of Contents
- Changing Multiple Procedure Labels
- Changing the Title Bar
- Creating Alternate HTML Formats
- Creating Multiple Copies of the Same Output
- Exploring Links and Anchors
- Using Links and Anchors to Link Your Results to Your Web Site
- Adding HTML Code to Customize Your Output
- Limiting Inclusion of HTML Tags in Output
- Applying Inline Formatting
- Adding JavaScript to Your Output
- Creating and Using Cascading Style Sheets
- Creating Drill-Downs within Output Tables
- Creating Output with Just the Results
- Appending to an Existing HTML File
- Appending to an Existing Table of Contents
- Moving ODS Output into Your Internet or Intranet Site
- Sending HTML Results Automatically via E-Mail
- Importing Your ODS Output into a Spreadsheet
- Using ODS Suboptions
-
RTF Output
- Creating Your First RTF File
- Importing into a Word Processor
- Working with Headers and Footers in Microsoft Word
- Handling Page Breaks in RTF Output
- Controlling Page Orientation
- Controlling Page Size
- Controlling Page Breaks
- Controlling Page Margins
- Creating Multiple Columns on a Page
- Adding "Page X of Y" to RTF Reports
- Adding Static or Dynamic Dates
- Adding Customized Dates
- Placing Title and Footnote Text in the Body of the Document
- Adding Images to RTF Output
- Adding Text
- Adding More Complex Text
- Adding Hyperlinks to RTF Output
- Adding a Table of Contents to RTF Output
- Completing the Table of Contents
- Specifying Metadata in Your RTF File
- Aligning Decimals in RTF Output
- Exploring RTF as Created by Microsoft Word
- Inserting Field Codes into Your RTF Output
- Enhancing RTF Output by Using RTF Control Words and Field Codes
- Sending RTF Field Codes and Control Strings Only to RTF Output
- Importing RTF Output into a Slide Show
- More Enhancement of RTF Output Using RTF Control Words
- The New TAGSETS.RTF Destination
- Inserting Text with the PREPAGE= Option
- Using the TAGSETS.RTF OPTIONS Suboptions
- Generating a Table of Contents with TAGSETS.RTF
- Changing Table Headers with RTF Control Strings
- Rotating or Aligning Table Headers with RTF Control Strings
- Adding Hyperlinks to TAGSETS.RTF Output
-
PDF Output
- Creating a PDF File
- Creating Bookmarks in Your PDF File
- Modifying the Display of Bookmarks in Your PDF File
- Creating PDF Files That Include Hyperlinks and Annotations
- Another Means of Adding Hyperlinks and Annotations to PDF Output
- Optimizing PDFs to Reduce Size and Increase Compatibility
- Creating PDFs with Customized Metadata
- Creating a Linked Set of PDF Results
- Adding "Page X of Y" Numbers to PDF Output
- Controlling Page Breaks
- Sending ODS Output to Your Printer
- Selecting a Printer
- Creating a PostScript File from Your ODS Printer Output
- Using the SAS Printer Drivers
- Using the SAS PostScript Driver
- Printing in Color
- Creating Consistent Printed Pages
- Creating Multiple Columns on a Page
- Controlling Page Orientation
- Controlling Page Margins
- Controlling Page Size
- Creating Multiple Versions of the Same Output
- SAS System Options That Affect ODS Printer Output
- Converting to PDF with Acrobat
-
HTML Output
-
Output Structure
- Exploring ODS Output
-
Output Data Sets
- Creating a Single Output Data Set
- Comparing ODS Output Data Sets to Printed Output
- Creating Multiple Output Data Sets from a Single Procedure
- Creating Output Data Sets from Procedures with Complex Output
- Creating Output Data Sets from Multiple Procedures: Part 1
- Creating Output Data Sets from Multiple Procedures: Part 2
- Creating Output Data Sets without Printed Output
- Tip: Turning Off Output to the Results Window
- Opening and Closing Output Data Sets
- Using Data Set Options with Output Data Sets
- Creating ODS Output Data Sets from the PRINT and REPORT Procedures
-
Limiting ODS Output
- Selecting a Subset of Your Results
- Selecting Multiple Output Objects
- Excluding the Output You Don't Want
- Selecting Output for Multiple Procedures
- Customizing Your Selections for Each Output Destination
- Selecting Complex Combinations of Output Objects
- Identifying the Current Selections and Exclusions
- Selecting with WHERE Conditions
-
Using ODS in the DATA Step
- Creating ODS Output in the DATA Step Using FILE and PUT Statements
- Naming and Labeling the DATA Step Output Object
- Selecting Variables to Include in the Output
- Controlling the Layout of the Output
- Labeling and Formatting the Columns of the Results
- Modifying Output with the PUT Statement
- Applying Inline Formatting
- Using FILE PRINT Options and ODS
-
Creating Custom Reports from the DATA Step
- Understanding the Table Definition Used by the DATA Step
- Creating a Custom Table Template with a DATA Step
- Calculating Columns in a Custom Table Template
- Creating Spanning Column Headers in a Custom Table Template
- Creating a Custom HTML Table Definition
- Performing Traffic Lighting in a Custom Table Template
- Using Generic Columns in a Table Template
- Using Macro Variables in a Custom Table Template
- Using Dynamic Variables as Attribute Values in a Custom Table Template
-
Modifying and Replaying ODS Output
- The ODS DOCUMENT Destination
- Using the Documents Window
- Using PROC DOCUMENT to Manage Document Stores
- Replaying a Document Store Using PROC DOCUMENT and Pop-Up Menus
- Understanding the Fundamental Concepts of the ODS DOCUMENT Destination
- Creating a New Document Store Interactively
- Creating a New Document Store Interactively (continued)
- Creating a New Document Store Interactively (continued)
- Changing Titles and Page Breaks
- Creating a New Document Store Using PROC DOCUMENT
- Copying Objects into a New Document Store Using PROC DOCUMENT
- Adding Titles and Correcting Page Breaks after Copying Output Objects to a New Document
- Using the SASEDOC LIBNAME Engine
- Summary of PROC DOCUMENT Statements
-
Using Tagsets to Generate MARKUP Output
- ODS MARKUP Destination
- Creating CSV Files with ODS MARKUP
- Creating HTML Result Files with ODS MARKUP
- Creating XML Files with ODS MARKUP
- Learning More about ODS MARKUP Tagsets
- Modifying Tagset Events
- Creating a Custom Tagset
- Using a Custom Tagset Template
- More about Tagset Templates
- More about Using the Doc="Help" Suboption
-
Output Style
- Style Template Definitions
-
Understanding the Built-In Style Template Definitions
- Understanding the Default Style in SAS 9.1.3
- Understanding the Default Style in SAS 9.2
- Understanding the Default Style in SAS 9.2 (continued)
- Understanding the Color Style Elements
- Understanding the Font Style Elements
- Understanding the HTML and Text Style Elements
- Understanding the Abstract Style Elements
- Changing Specific Style Elements
- Startup and Shutdown Elements
- Changing HTML Frames, Indexes, and Tables of Contents
- Changing HTML Body Style Attributes
- Changing Table Style Elements (Part 1 of 2)
- Changing Table Style Elements (Part 2 of 2)
- Changing Header-Related and Data Cell-Related Style Elements (Part 1 of 2)
- Changing Header-Related and Data Cell-Related Style Elements (Part 2 of 2)
- Adding Images to Style Elements
- Modifying Titles and Footnotes Using Style Elements (Part 1 of 2)
- Modifying Titles and Footnotes Using Style Elements (Part 2 of 2)
- Understanding the Differences in the ODS Printer Style
- Understanding Differences in the RTF Style
-
Modifying Output Fonts
- Identifying the Font Definitions for Each Part of Your Output
- Modifying the Default Font Sizes for HTML Output
- Modifying the Default Font Sizes for Printer Output
- Modifying the Default Font Sizes for RTF Output
- Modifying the Default Typefaces
- Identifying Available Fonts
- Modifying the Default Font Weights, Font Styles, and Font Widths
- Creating a New Font Definition
- Modifying Fonts for Procedures That Use Fixed-Width Fonts
-
Modifying Output Structure
- Modifying the Table Borders
- Removing the Table Borders and Rules
- Removing Table Borders and Rules from Printer Output
- Changing the Spacing Inside Tables
- Removing Numbers from the Table of Contents in HTML Output
- Setting the Width for HTML Output
- Controlling RTF Page Margins
- Simulating Listing Output with FILE PRINT ODS
- Hiding Procedure Titles
-
Modifying Output Colors and Images
- Exploring the Style Elements That Control Color
- Modifying the Color of Your Titles
- Identifying Colors
- Modifying Background Colors
- Modifying Colors in Tables
- Adding a New Color to the Color Scheme
- Designing a Template to Enhance Accessibility
- Adding a Logo to Your Output
- Adding a Logo and a Custom Heading to Your HTML Output
- Adding a Background Image to Your HTML Output
- Adding Images to RTF Output (with Templates)
- Adding Images to Each Page of Your RTF Output
- Adding Images to Printer Output (with Templates)
-
Doing More with Styles and ODS
- Using the CSSSTYLE= Option
- Creating a Style Template to Match Corporate Style Guidelines
- Using the CSSSTYLE= Option with @media Style Properties
- Using Multiple CSS Files with ODS HTML
- Using Custom Class Selectors with ODS HTML
- Creating a Custom Style for Use with a Custom Table Template
- Using Style Templates to Make Smaller Output Files
- Inserting an Image with a Style Template
- Using RTF Control Strings with a Style Template
- Storing and Retrieving a Personal or Group Template
- Removing Access to a Personal or Group Template
- Specifying an Alternate Template as a Backup
-
Special Cases: The REPORT, TABULATE, and PRINT Procedures
- Changing PROC REPORT Column Heading Style Attributes
- Changing PROC REPORT Table Cell Style Attributes
- Changing PROC REPORT Row Style Attributes
- Changing PROC REPORT Subtotals and Totals Style Attributes
- Adding Traffic Lighting to PROC REPORT Table Values
- Adding Graphics to PROC REPORT Tables
- Creating an Output Data Set from PROC REPORT
- Controlling Column Widths with PROC REPORT
- Inserting Blank Lines with PROC REPORT
- Creating Cleaner PROC REPORT Output Using SPANROWS
- Changing PROC TABULATE Row and Column Heading Style Attributes
- Changing PROC TABULATE BOX= Option Formatting
- Changing PROC TABULATE Table Cell Style Attributes
- Changing PROC TABULATE Row Style Attributes
- Changing PROC TABULATE Subtotals and Totals Style Attributes
- Adding Traffic Lighting to PROC TABULATE Table Values
- Adding Graphics to PROC TABULATE Tables
- Creating an Output Data Set from PROC TABULATE
- Controlling Column Widths with PROC TABULATE
- Changing PROC PRINT Column Heading Style Attributes
- Changing PROC PRINT Table Cell Style Attributes
- Changing PROC PRINT Style Attributes for Totals
- Indenting Values with Margin Attributes Using LEFTMARGIN=
- Indenting Values with Margin Attributes
- Style Attributes for the REPORT, TABULATE, and PRINT Procedures
-
Understanding ODS Graphics Output
- Understanding Graphics Creation in SAS 9.2
- Generating Graphics Output from SAS Procedures Using the ODS GRAPHICS Statement
- Creating Graphic Images with the ODS Statistical Graphics Framework
- Creating Graphics Output with the Statistical Graphics (SG) Procedures
- Creating Output Using Graph Templates and the SGRENDER Procedure
- Creating HTML Output with SAS/GRAPH
- Using ODS Options and SAS/GRAPH Options to Change Output
- Understanding Devices and Destinations
- More about Devices and Destinations
- Creating HTML Output: Graphs as GIFs or JPEGs
- Creating HTML Output: Graphs as Java
- Creating HTML Output: Graphs as ActiveX
- Creating RTF Output: Graphs as ActiveX
- Combining Graphs with Text Output
- Additional SAS/GRAPH and ODS Resources
- Operating System Differences
Product information
- Title: Output Delivery System: The Basics and Beyond
- Author(s):
- Release date: October 2009
- Publisher(s): SAS Institute
- ISBN: 9781599946603
You might also like
audiobook
How to Do Nothing
A galvanizing critique of the forces vying for our attention-and our personal information-that redefines what we …
book
Modern Software Engineering: Doing What Works to Build Better Software Faster
Improve Your Creativity, Effectiveness, and Ultimately, Your Code In Modern Software Engineering, continuous delivery pioneer David …
book
The Art of Communication
Bring nuance, depth, and meaning to every conversation you have The Art of Communication is for …
audiobook
Joy of Agility
Agility enables you, your team, and your organization to streamline slow and awkward actions, overcome obstacles …