System Options for Macros |
Specifies whether the macro processor issues a warning message
when a macro reference cannot be resolved.
Valid in: |
Configuration file |
OPTIONS window |
OPTIONS statement |
SAS
invocation |
|
Type: |
System option
|
Default: |
MERROR
|
PROC OPTIONS GROUP= |
MACRO
|
- MERROR
-
issues the following warning message when the macro processor
cannot match a macro reference to a compiled macro:
WARNING: Apparent invocation of macro %text not resolved.
- NOMERROR
-
issues no warning messages when the macro processor cannot
match a macro reference to a compiled macro.
Several conditions can prevent a macro reference from
resolving. These conditions appear when
-
a macro name is misspelled
-
a macro is called before being defined
-
strings
containing percent signs are encountered. For example:
TITLE Cost Expressed as %Sales;
If your program contains a percent sign in a string that could be mistaken
for a macro keyword, specify NOMERROR.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.