ENGLISH

PROC TEMPLATE Made Easy: A Guide for SAS Users

Book information

Publisher
SAS Institute
Year
2013
ISBN
9781612900957, 161290095X
Language
english
Format
PDF
Filesize
7 MB (7289777 bytes)
Pages
260\260
Time added
2020-04-03 12:28:52

Description

This straightforward guide to PROC TEMPLATE shows you how to build your own custom styles and tables in SAS. You'll learn how to create new styles to match your organization's standards or simply to increase your report's aesthetic potential build custom tables with complex structures and traffic lighting to make them easier to read and interpret manage your templates and share them with other SAS users Written for all levels of users, PROC TEMPLATE Made Easy guides you through the process of writing templates. Beginners will benefit from learning how to do so from the ground up. Intermediate and advanced users will learn the more complex features of PROC TEMPLATE as well as how to use styles in the Base SAS reporting procedures. This book explains how PROC TEMPLATE saves templates and teaches you how to create shareable template stores, allowing you to customize your working environment. The visual appendixes of all style attributes and graph colors serve as an essential reference for anyone using PROC TEMPLATE. PROC TEMPLATE allows you to take advantage of all that the Output Delivery System has to offer, and PROC TEMPLATE Made Easy teaches you how. This book is part of the SAS Press program. Contents About This Book Purpose Is This Book for You? Prerequisites Scope of This Book What is Not Covered in This Book Examples in This Book Typographical Conventions Used in This Book Software Used to Develop This Book's Content Data and Programs Used in This Book Output and Graphics Used in This Book Author Page Example Code and Data Additional Resources Keep in Touch About The Author Acknowledgments Chapter 1: Introduction The Template Structure Types of Templates Data-Dependent Templates Data-Independent Templates Conclusion Chapter 2: Using Styles in Your Reports Using Pre-Defined Styles Where Are These Styles Coming from? Defining a New Style Cascading Style Sheets and the SAS Enterprise Guide Style Manager PROC TEMPLATE Styles The STYLE and CLASS Statements Style Definition Inheritance Style Attribute References Style Overrides and Conditional Formatting Dynamic Style Attribute Values SYMGET(‘macro-variable’) and RESOLVE(‘&macro-variable’) SAS-format RESOLVE(‘%macro’) EXPRESSION(‘expr’) Reporting Procedure Styles PROC PRINT Styles PROC REPORT Styles PROC TABULATE Styles Inline Formatting Putting It All Together Chapter 3: Creating and Customizing Table Templates Defining a Table Defining Headers and Footers Common Table Header and Footer Attributes Defining Columns Common Table Column Attributes Using Computed Column Values As Column Data Table Attributes Style Overrides and Traffic Lighting The CELLSTYLE AS Statement Using Table Templates within DATA _NULL_ Using Variables in Table Templates Using Generic Columns DATA Step Tricks Inheritance Modifying SAS Procedure Tables The PROC FREQ Crosstabulation Table Defining a CrossTabs Template Putting It All Together Chapter 4: Template Management Template Stores and the ODS Path PROC TEMPLATE Statements The DELETE Statement The LINK Statement The LIST Statement The PATH Statement The SOURCE Statement Appendix A: Compatibility with Previous Versions of SAS Running PROC TEMPLATE Examples Styles Using Cascading Style Sheets (CSS) Changes to Style Attribute Names Defining Multiple Style Elements Simultaneously Inheritance The CLASS Statement Appendix B: Style Attributes HTML-specific Style Attributes Graph-specific Style Attributes Appendic C: Color Names Defined by SAS/GRAPH Introduction Basic Hues Blacks Blues Browns Grays Greens Olives Oranges Pinks Purples Reds Violets Whites Yellows Ad Index

Similar books