Report Management Using the ODS DOCUMENT Destination and Report Metadata Brit Harvey February 2010.

Slides:



Advertisements
Similar presentations
Configuration management
Advertisements

Copyright © 2008 SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks.
A Toolbox for Blackboard Tim Roberts
DIVERSE REPORT GENERATION By Chris Speck PAREXEL International Durham, NC.
The INFILE Statement Reading files into SAS from an outside source: A Very Useful Tool!
Developing an Excel Application
Tutorial 8: Developing an Excel Application
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Lecture 1: Overview of Computers & Programming
Digital Workbooks Options and Guide. Microsoft Office - Publisher If you use PC’s rather than Macs then ‘Publisher’ is part of the Microsoft Office Software.
1 Appendix A: Writing and Submitting SAS ® Programs A.1 Writing and Submitting SAS Programs.
PDF Multi-level Bookmarks Via SAS®
Applied Software Project Management Andrew Stellman & Jennifer Greene Applied Software Project Management Applied Software.
Tutorial 8 Sharing, Integrating and Analyzing Data
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Developing a Basic Web Page with HTML
Maintaining and Updating Windows Server 2008
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
XP New Perspectives on Integrating Microsoft Office XP Tutorial 1 1 Integrating Microsoft Office XP Tutorial 1 – Integrating Word and Excel.
Other Features Index and table of contents Macros and VBA.
Real-time HMI and SCADA software for .NET applications.
Label production Solution with Label Gallery programs Label Gallery is used for general label design and print GalleryForm is used to create data entry.
Advance Computer Programming Java Database Connectivity (JDBC) – In order to connect a Java application to a database, you need to use a JDBC driver. –
Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute.
Testing. Definition From the dictionary- the means by which the presence, quality, or genuineness of anything is determined; a means of trial. For software.
Article: Source Code Review Systems Author: Jason Remillard Presenter: Joe Borosky Class: Principles and Applications of Software Design Date: 11/2/2005.
Spreadsheet-Based Decision Support Systems Chapter 22:
Class Instructor Name Date. Classroom Tips Class Roster – Please Sign In Class Roster – Please Sign In Internet Usage Internet Usage –Breaks and Lunch.
1. Chapter 9 Maintaining Documents 3 Managing Files As with physical documents, folders, and filing cabinets, electronic files and folders must be well.
My ODS: Real-World Uses of Modifying Table Templates Steve James Centers for Disease Control and Prevention Atlanta, Ga.
Introduction to HTML Tutorial 1 eXtensible Markup Language (XML)
ODS Statistical Graphics in SAS 9.2 January 17, 2010.
© 2001 Business & Information Systems 2/e1 Chapter 8 Personal Productivity and Problem Solving.
01/20151 EPI 5344: Survival Analysis in Epidemiology SAS code and output February 24, 2015 Dr. N. Birkett, School of Epidemiology, Public Health & Preventive.
SAS Software Version 8 The Output Delivery System.
E-Books Presentation. Hard Copy (Book) Scanning OCR Text Document HTML Conversion Text Formatting Linking Image Insertion Final QC Soft Copy (JPG/TIFF)
ISU Basic SAS commands Laboratory No. 1 Computer Techniques for Biological Research Animal Science 500 Ken Stalder, Professor Department of Animal Science.
XP Practical PC, 3e Chapter 3 1 Installing and Learning Software.
United Nations Economic Commission for Europe Statistical Division The Importance of Databases in the Dissemination Process Steven Vale, UNECE.
Publishing to PDF SNUG Quarter 2. Overview n What is PDF? n Why use PDF? n Creating PDF files with SAS Software n Issues n Advanced PDF files with SAS.
“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”
Capabilities of Software. Object Linking & Embedding (OLE) OLE allows information to be shared between different programs For example, a spreadsheet created.
XP New Perspectives on Integrating Microsoft Office XP Tutorial 1 1 Integrating Microsoft Office XP Tutorial 1 – Integrating Word and Excel.
SAS ODS (Output Delivery System) Donald Miller 812 Oswald Tower ;
Configuration Management and Change Control Change is inevitable! So it has to be planned for and managed.
Connecting with Computer Science2 Objectives Learn how software engineering is used to create applications Learn some of the different software engineering.
1 Chapter 7: Customizing and Organizing Project Results 7.1 Combining Results 7.2 Updating Results 7.3 Customizing the Output Style (Self-Study)
Comparison of different output options from Stata
Structural Design Software TYLER HUTCHISON. Requirements  Develop an interface to generate a text file.  The text file is then passed to one of five.
Chapter 11 Enhancing an Online Form and Using Macros Microsoft Word 2013.
Software Engineering Issues Software Engineering Concepts System Specifications Procedural Design Object-Oriented Design System Testing.
Objectives Understand Corrective, Perfective and Preventive maintenance Discuss the general concepts of software configuration management.
Customize SAS Output Using ODS Joan Dong. The Output Delivery System (ODS) gives you greater flexibility in generating, storing, and reproducing SAS procedure.
ODS TAGSETS - a Powerful Reporting Method Derek. 2 Agenda Understanding the tagset How to use tagsets Conclusion.
Based on Learning SAS by Example: A Programmer’s Guide Chapters 1 & 2
SAS ® 101 Based on Learning SAS by Example: A Programmer’s Guide Chapters 14 & 19 By Tasha Chapman, Oregon Health Authority.
Reference Documents4.6fi_12.1 Chapter 12 Reference Documents During the normal course of business, repetitive periodic accounting transactions must be.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Using Macros Lesson.
Build your Metadata with PROC CONTENTS and ODS OUTPUT Louise S. Hadden Abt Associates Inc.
Reporting The Facts: The ODSmemo macro suite for making reproducible RTF memos within SAS® Rocio Lopez Cleveland Clinic.
Architecture Review 10/11/2004
Managing, Storing, and Executing DTS Packages
BASIC INFORMATION ABOUT DATABASE MANAGEMENT SOFTWARE
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Software Documentation
Beautiful PROC CONTENTS Output Using the ODS Excel Destination
Microsoft PowerPoint 2007 – Unit 2
Web SA: File Upload Function
ICS103 Programming in C 1: Overview of Computers And Programming
1B8 - Executing the Payroll Process as Payroll Process Manager
Presentation transcript:

Report Management Using the ODS DOCUMENT Destination and Report Metadata Brit Harvey February 2010

Software SAS 9.2 Base Access to PC File Formats Spreadsheet: Excel 2007 Operating System: Windows XP

User Requirements Two hundred reports One program per report Final product: Combined, ordered reports in multiple PDF/RTF files with report title bookmarks in PDFs. Support frequent changes in report combinations, ordering, and bookmarks.

Previous Approach Write reports to RTF. Combine to PDF using Acrobat. Assign bookmark text using a PDF software package and manual entry for figures. Update combined reports manually using Acrobat PDF page deletion and insertion. Manually update bookmarks. Many manual tasks, high error potential.

Report Management System Maintain report metadata in Excel Write report content to an ODS DOCUMENT destination item store. During development write individual reports to either PDF or RTF for review. Render reports to multiple bookmarked PDFs and RTFs using PROC DOCUMENT. Report content generation and rendering are decoupled.

Benefits Bookmarked PDF output is generated programmatically by SAS. – Manual work is eliminated. – No PDF software other than SAS is required. Shorter run times – Rendering requires minimal computer resources Flexibility – Many changes to report specifications are relatively easy to implement by updating report metadata.

Report Metadata

ODS Document Sample Code ods document name = mds.doc (update) dir = ( path = \t_02_01 (write) label=“Demographic Characteristics" ) ;

PROC DOCUMENT Sample Code ods tagsets.rtf file="..\rpt\rtf\tables.rtf" style=tlib.tmpl.t_01 ; ods pdf file="..\rpt\pdf\tables.pdf" style=tlib.tmpl.t_01 pdftoc=1; proc document name = mds.doc ; replay t_02_01.#1 / activetitle activefootn ; run ; quit ; ods _all_ close ;

Macros: %rptmeta Reads report metadata Assigns titles/footnotes Executed in report programs prior to report generation statements, such as PROC REPORT.

Macros: %render Reads report metadata – Assign titles/footnotes (again) – Controls output files to write Renders reports to RTF and PDF output files. Assigns PDF bookmarks.

Development Program Outline summarization (PROC MEANS, etc.) %rptmeta (assign titles/footnotes) ODS document (write to item store) PROC REPORT ODS document close ODS PDF PROC DOCUMENT (render from item store) ODS PDF close

Flow Diagram

Document Item Store Contents Obs1 Path\t_02_01#1 TypeDir Size in Bytes Created06OCT2009:14:43:29 Modified06OCT2009:14:43:41 Symbolic Link Template LabelDemographic Characteristics

PDF Bookmark Results

Update Procedure Suppose an analysis data set is updated. 1)Rerun only affected report programs. 2)Execute %render to render combined reports. Suppose report combination requirements are updated. 1)Update report metadata 2)Execute %render to render reports.

PROC DOCUMENT ISSUES 1)Reports written with PROC REPORT using a CALL DEFINE statement cause a fatal SAS error when rendered using PROC DOCUMENT in a program other than the one that wrote to the item store. This defect is recognized by SAS and is scheduled to be corrected in the 9.2 M3 maintenance release, which is expected in the second quarter of this year.

PROC DOCUMENT ISSUES 2)Title/footnote inline style and justification options (justify, height, etc.) written to the item store are ignored when rendered by PROC DOCUMENT. SAS Problem Note states a workaround involving reassigning titles/footnotes and options in the render program. This is relatively easy to implement when report metadata is used. SAS plans a fix in version 9.3.

Conclusion Users managing many reports, multiple output formats, and PDF bookmarks may want to consider a system using the ODS DOCUMENT destination and report metadata. This approach builds on existing report metadata and is not difficult to implement. PROC REPORT users will probably need to wait for the SAS 9.2 M3 maintenance release.

Contact Information