Chapter 1: What the Language Is, What It Does, and What It Can Do

1.1 Introduction

1.2 Stages of Macro Language Learning

1.2.1 Code Substitution

1.2.2 Macro Language Elements

1.2.3 Dynamic Programming

1.3 Terminology

1.4 Sequencing Events—It’s All about the Timing

1.5 Scopes or Referencing Environments

1.5.1 Use of Symbol Tables

1.5.2 Nested Symbol Tables

The macro language enables the SAS programmer to greatly increase the power, flexibility, and capability of SAS. The macro language can be used to generalize programs and to make them reusable. It is a complex language with many nuances, and although it is not easily mastered, even its simplest tools and capabilities can have a great impact on your workflow and relative efficiencies.

Within ...

Get Carpenter's Complete Guide to the SAS Macro Language, Third Edition, 3rd Edition 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.