Previous Page | Next Page

System Options for Macros

MAUTOSOURCE System Option



Specifies whether the autocall feature is available.
Valid in:

Configuration file

OPTIONS window

OPTIONS statement

SAS invocation

Type: System option
Default: MAUTOSOURCE
PROC OPTIONS GROUP= MACRO

Syntax
Details

Syntax

MAUTOSOURCE | NOMAUTOSOURCE

MAUTOSOURCE

causes the macro processor to search the autocall libraries for a member with the requested name when a macro name is not found in the WORK library.

NOMAUTOSOURCE

prevents the macro processor from searching the autocall libraries when a macro name is not found in the WORK library.


Details

When the macro facility searches for macros, it searches first for macros compiled in the current SAS session. If the MSTORED option is in effect, the macro facility next searches the libraries containing compiled stored macros. If the MAUTOSOURCE option is in effect, the macro facility next searches the autocall libraries.

Previous Page | Next Page | Top of Page