The procedure for removing global custom-defined macros, which is more complex than that for removing local custom-defined macros, should be performed only by DBAs.
To remove a custom-defined macro:
The following MaxL statement removes the local macro @COUNTRANGE, which is used only in the Sample application:
drop macro Sample.'@COUNTRANGE';
The following MaxL statement removes the global macro @COUNTRANGE:
drop macro '@COUNTRANGE';