Understanding Session Compiled Macros
By default, when a macro
definition is submitted, the macro is compiled and stored in a temporary
SAS catalog as Work.Sasmacr. Macros that are stored in this temporary
SAS catalog are known as session compiled macros.
Once a macro has been compiled, it can be invoked from a SAS program.
Session compiled macros
are available for execution during the SAS session in which they are
compiled. They are deleted at the end of the session. But suppose
you want to save your macros so that they are easily reused in another
SAS session.
Last updated: October 16, 2019