Base SAS includes the macro
facility as a tool to customize SAS and to reduce the amount of text
that you must enter to do common tasks. The macro facility enables
you to assign a name to character strings or groups of SAS programming
Thereafter, you can
work with the names rather than with the text itself. When you use
a macro facility name in a SAS program, the macro facility generates
SAS statements and commands as needed. The rest of SAS receives those
statements and uses them in the same way it uses the ones that you
enter in the standard manner.
The macro facility enables you to create macro variables to substitute text in SAS programs. One of the major ...