MREPLACE System Option

Specifies whether to enable existing macros to be redefined.
Valid in: Configuration fileOPTIONS windowOPTIONS statementSAS invocation
PROC OPTIONS GROUP= MACRO
Type: System option
Default: MREPLACE

Syntax

MREPLACE | NOMREPLACE

Required Arguments

MREPLACE
enables you to redefine existing macro definitions that are stored in a catalog in the WORK library.
NOMREPLACE
prevents you from redefining existing macro definitions that are stored in a catalog in the WORK library.

Details

The MREPLACE system option enables you to overwrite existing macros if the names are the same.
The NOMREPLACE system option prevents you from overwriting a macro even if a macro with the same name has already been compiled.