Remember that when a macro is compiled, it is stored
in the temporary SAS catalog Work.Sasmacr by default. You can also
store compiled macros in a permanent SAS catalog. Then you can use
the Stored Compiled Macro Facility to access permanent SAS catalogs
that contain compiled macros.
There are several advantages
to using stored compiled macros:
SAS does not need to compile a
macro definition when a macro call is made.
Session-compiled macros and the
autocall facility are also available in the same session.
Users cannot modify compiled macros.
Two SAS system options affect stored compiled macros: MSTORED and SASMSTORE=. The MSTORED system option controls whether ...