Previous Page | Next Page

System Options for Macros

MERROR System Option



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

Syntax
Details

Syntax

MERROR | NOMERROR

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.


Details

Several conditions can prevent a macro reference from resolving. These conditions appear when

If your program contains a percent sign in a string that could be mistaken for a macro keyword, specify NOMERROR.

Previous Page | Next Page | Top of Page