You
have seen how to create and reference macro variables. In order to
work with macro variables in the programs that you write, you need
to understand how macro variables are processed and stored. First,
it is important that you understand how SAS processing works.
A SAS program can be
any combination of the following:
-
DATA steps and PROC steps
-
-
SAS Component Language (SCL) code
-
Structured Query Language (SQL)
code
-
When you submit a program,
it goes to an area of memory called the input stack. This is true
for all code that you submit, such as a DATA step, SCL code, or SQL
code.
Once SAS code is in
the input stack, SAS