Chapter 2

PROC TEMPLATE Overview

2.1 Introduction

2.2 Default Style Templates

2.3 Location of Style Templates

2.4 Viewing Style Templates

2.5 General Syntax of PROC TEMPLATE

2.6 STYLE versus CLASS Statements

2.7 Inheritance

2.8 Style Attributes

2.9 Key Takeaways

2.1 Introduction

Every piece of output that SAS generates is controlled by a template. The tables generated by the REPORT, MEANS, GLM, and other procedures are controlled by table templates. The visual aspects of the files generated by the Output Delivery System (ODS) are controlled by style templates. The TEMPLATE procedure can be used to modify some of the table templates and to modify all of the style templates.

Style templates are powerful tools for generating attractive output. They ...

Get The SAS Programmer's PROC REPORT Handbook 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.