Chapter 3: Creating and Customizing Table Templates

Defining a Table

Defining Headers and Footers

Defining Columns

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

Putting It All Together

Although many people don’t realize it, almost all tabular output generated by SAS is created using a table template1. Table templates describe what columns, headers, and footers should appear in the table. They can also contain style overrides to specify extra style information. In addition, ...

Get PROC TEMPLATE Made Easy now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.