When you use IMPLMAC, processing time is increased because SAS searches the
macros compiled during the current session for a name corresponding to the first word of
each SAS statement. If the MSTORED option is in effect, the libraries containing
compiled stored macros are searched for a name corresponding to that word. If the
MAUTOSOURCE option is in effect, the autocall libraries are searched for a name
corresponding to that word. If the MRECALL system option is also in effect, processing
time can be increased further because the search continues even if a word was not found
in a previous search.
Regardless of which option is in effect, you can call any macro with a name-style
invocation, including statement-style macros.
Note: If a member in an autocall library or stored compiled macro catalog has the same
name as an existing windowing environment command, SAS searches for the macro
first if CMDMAC is in effect. Unexpected results can occur.
Comparisons
Name-style macros are a more efficient choice to use when you invoke macros because
the macro processor searches only for the macro name that corresponds to a word that
follows a percent sign.
MACRO System Option
Controls whether the SAS macro language is available.
Valid in: Configuration file, SAS invocation
Category: Macro
PROC OPTIONS
GROUP=
MACRO
Type: System option
Default: MACRO
Syntax
MACRO | NOMACRO
Required Arguments
MACRO
enables SAS to recognize and process macro language statements, macro calls, and
macro variable references.
NOMACRO
prevents SAS from recognizing and processing macro language statements, macro
calls, and macro variable references. The item generally is not recognized, and an
error message is issued. If the macro facility is not used in a job, a small performance
gain can be made by setting NOMACRO because there is no overhead of checking
for macros or macro variables.
356 Chapter 20 • System Options for Macros