As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Essential SAS® ODS PDF

From sasCommunity
Jump to: navigation, search

Author

Patrick Thornton Bio at SRI Internation

Reference

From: Thornton, S. P. (2010). Essential SAS® ODS PDF. Paper presented at the Eighteenth Annual Western Users of the SAS® Software Conference, San Diego, CA.

Abstract

This paper lists and demonstrates the ODS techniques that I have found most useful in creating user friendly PDF reports in SAS® 9.2 on a Windows operating system. Basic ODS techniques include creating PDF files (e.g. ODS PDF FILE= STYLE= KEYWORD= COLUMNS=), modifying page setup (e.g. orientation, date, title, and footnote), and saving procedural output to data sets (e.g. ODS OUTPUT), The examples also demonstrate simultaneously creating two PDF destinations (i.e. ODS PDF ID=) and selectively including or excluding procedural output to each destination (e.g. ODS PDF SELECT, EXCLUDE and WHERE=). Two PDF files are simultaneously created where PROC FREQ listings are directed to one file and selected PROC FREQ results are combined with PROC REPORT to create an executive summary in the other PDF file.

Introduction

he goal of this paper is to demonstrate the techniques I have used most frequently to produce nice looking PDF files containing output from SAS procedures. This paper is not an introduction to ODS, ODS PDF, or PROC REPORT. Featured capabilities are simultaneously creating more than one PDF file and including only selected parts of PROC FREQ in one or the other PDF file.

Recommended Reading

Bessler, L. (2005). Getting started with, and getting the most out of, SAS ODS PDF: No mastery of PROC TEMPLATE required. SAS Conference Proceedings: Technical Solutions, Phuse, Heidelberg, Germany.

Delaney, K.P. (2003) ODS PDF: It’s not just for printing anymore. SAS Conference Proceedings: Data Presentation Section, SUGI 28, Seattle, Washington, US.

Gupta, S. (2004) 'SAS® Using Styles and Templates to Customize SAS® ODS Output.' Proceedings of the Twelfth Annual SAS User Group International Conference, Montréal, Québec, CANADA

Gupta, S. (2005) "SAS® ODS Technology for Today's Decision Makers." Proceedings of the Thirtieth Annual SAS User Group International Conference, Philadelphia, PA

Haworth, L. (2006). 'PROC TEMPLATE: The Basics.' Proceedings of the Fourteenth Annual SAS User Group International Conference, San Francisco, California

Huntley, S. & Lawhorn, B. (2010). 'Getting the Right Report (Again): Your Compatibility Guide for ODS PDF 9.2.' Proceedings of the 2010 SAS Global Forum Conference, Seattle, WA

O’Connor, D. & Huntley, S. (2009). 'Breaking New Ground with SAS® 9.2 ODS Layout Enhancements.' Proceedings of the 2009 SAS Global Forum Conference, Washington, DC

Okerson, B. B. (2010). 'Pleasing the Client: Creating Custom Reports with SAS® ODS LAYOUT and Proc REPORT.' Proceedings of the 2010 SAS Global Forum Conference, Seattle, WA

SAS Support - 'All about SAS 9.2 ODS PDF'

Download Paper

Essential ODS PDF 2010