| System Options for Macros |
| Valid in: |
| ||||
| Type: | System option | ||||
| Alias: | SERR | NOSERR | ||||
| Default: | SERROR | ||||
| PROC OPTIONS GROUP= | MACRO |
| Syntax | |
| Details |
Syntax |
| SERROR | NOSERROR |
issues a warning message when the macro processor cannot match a macro variable reference to an existing macro variable.
issues no warning messages when the macro processor cannot match a macro variable reference to an existing macro variable.
| Details |
Several conditions can occur that prevent a macro variable reference from resolving. These conditions appear when one or more of the following is true:
the name in a macro variable reference is misspelled.
the variable is referenced before being defined.
the program contains an ampersand (& ) followed by a string, without intervening blanks between the ampersand and the string. For example:
if x&y then do; if buyer="Smith&Jones, Inc." then do;
If your program uses a text string containing ampersands and you want to suppress the warnings, specify NOSERROR.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.