Book description
The SAS Programmer's PROC REPORT Handbook: Basic to Advanced Reporting Techniques is intended for programmers of all skill levels. Learn how to link multiple reports, add graphics and logos, and manipulate table of contents values to help refine your programs, macrotize where possible, troubleshoot easily, and get great-looking reports every time. From beginner to advanced, the examples in this book will help you harness all the power and capability of PROC REPORT.
With dozens of useful examples, this book is completely unique in three ways. First, this book describes the default behavior of table of contents nodes and labels, and how to change the nodes inside of PROC REPORT. The chapter also explains how to use PROC DOCUMENT in conjunction with PROC REPORT. Secondly, an entire chapter is dedicated to the troubleshooting of errors, warnings, and notes that are produced by PROC REPORT, including explanations of what generated the log message and how to avoid it. Third, the book explains how to preprocess your data in order to get the best output from PROC REPORT, and it explores reports that require multiple steps to create. Whether you work in banking/finance, pharmaceuticals, the health and life sciences, or government, this handbook is sure to be your new favorite reporting reference.
Table of contents
- About this Book
- About the Author
- Acknowledgments
- Preface
- Chapter 1: Syntax – How to Use Statements and Their Options
- 1.1 Introduction
- 1.2 PROC REPORT Statement
- 1.3 COLUMN Statement
- 1.4 DEFINE Statement
- 1.5 BREAK Statement
- 1.6 RBREAK Statement
- 1.7 COMPUTE Statement
- 1.8 ENDCOMP Statement
- 1.9 CALL DEFINE Statement
- 1.10 LINE Statement
- 1.11 Global Statements
- Chapter 2: Concepts – How PROC REPORT Works Behind the Scenes
- 2.1 Introduction
- 2.2 General Execution
- 2.3 Compute Blocks
- 2.4 Referencing Report-items
- 2.5 Left to Right Availability
- 2.6 Repeating GROUP or ORDER Variable Values
- 2.7 Column Widths
- 2.8 Date Variables
- 2.9 Temporary Variables
- 2.10 Sorting and the ORDER= Option
- 2.11 Paging
- Chapter 3: Examples – How to Get the Desired Report
- 3.1 Introduction
- 3.2 Standard Reports
- 3.3 Nonstandard Reports
- 3.4 Special Data Consideration Reports
- Chapter 4: Examples – How to Use ACROSS Variables
- 4.1 Introduction
- 4.2 Standard Reports
- 4.3 Header Section Rows
- 4.4 Nonstandard Reports
- Chapter 5: Examples – How to Determine When to Pre-Process the Data
- 5.1 Introduction
- 5.2 Sort by Statistic
- 5.3 Use COMPLETEROWS with ACROSS
- 5.4 Use COMPLETEROWS with Multiple GROUP Variables
- 5.5 Use Information from a Variable in Header and Data Sections
- 5.6 Wrap Text at a Specific Place
- 5.7 Incorporate Various Data Pieces into One Report
- 5.8 Create the Look of Merged Cells
- Chapter 6: Styles – How to Change a Report’s Appearance
- 6.1 Introduction
- 6.2 STYLE= Option
- 6.3 Borders
- 6.4 Trafficlighting
- 6.5 Trafficlighting under an ACROSS Variable
- 6.6 Color in Headers
- 6.7 LINE Statements
- 6.8 Advanced Color and Border Assignments
- 6.9 Images
- 6.10 URLs
- Chapter 7: Table of Contents – How to Manipulate with CONTENTS= and PROC DOCUMENT
- 7.1 Introduction
- 7.2 Default Nodes
- 7.3 BY-Variable Nodes
- 7.4 DEFINE Statement CONTENTS=
- 7.5 BREAK Statement CONTENTS=
- 7.6 RBREAK Statement CONTENTS=
- 7.7 ODS DOCUMENT and PROC DOCUMENT
- Chapter 8: Debugging Techniques – How to Troubleshoot
- 8.1 Introduction
- 8.2 Errors, Warnings, and Notes in the Log
- 8.3 Temporary Variable Values
- 8.4 General Tips
- References
- Books
- Conference Papers
- Technical Paper
- SAS Documentation
- SAS Notes
- Index
Product information
- Title: The SAS Programmer's PROC REPORT Handbook: Basic to Advanced Reporting Techniques
- Author(s):
- Release date: March 2016
- Publisher(s): SAS Institute
- ISBN: 9781629602103
You might also like
book
The SAS Programmer's PROC REPORT Handbook
Generate reports with style! The SAS Programmer's PROC REPORT Handbook: ODS Companion explains how to use …
book
Carpenter's Complete Guide to the SAS REPORT Procedure
Art Carpenter demystifies the powerful REPORT procedure and shows you how to incorporate this highly flexible …
book
PROC REPORT by Example
PROC REPORT by Example: Techniques for Building Professional Reports Using SAS provides real-world examples using PROC …
book
Mastering the SAS DS2 Procedure
Enhance your SAS data-wrangling skills with high-precision and parallel data manipulation using the DS2 programming language. …