Chapter 7. Writing Flexible Code with the SAS® Macro Facility
“Nobody is too old to learn—but a lot of people keep putting it off.”
From The Official Explanations by Paul Dickson. Copyright 1980 by Delacorte Press. Reprinted by permission of the publisher.
Substituting Text with Macro Variables
Creating Modular Code with Macros
Adding Parameters to Macros
Writing Macros with Conditional Logic
Writing Data-Driven Programs with CALL SYMPUT
Debugging Macro Errors
Not so long ago the SAS macro facility was considered an advanced topic relevant only to experienced SAS users. Over time, however, macros have become more prevalent so that now even new SAS users would do ...