Macro Variables: What Are They?
Some Built-In Macro Variables
Assigning Values to Macro Variables with a %LET Statement
Demonstrating a Simple Macro
A Word about Tokens
Another Example of Using a Macro Variable as a Prefix
Using a Macro Variable to Transfer a Value between DATA Steps
Although the SAS macro language is usually thought of as an advanced topic, there are aspects of this language that are useful and easy to use, even to the beginning or intermediate SAS programmer. This chapter gives you the tools to use macro variables and write simple macros. Macros are particularly useful if you want to make your ...