To rename custom-defined macros:
From Enterprise View or a custom view, select an Essbase Server.
Right-click, and select Edit, and then Macros.
In the Custom Defined Macro Manager window, select a macro, and click Rename.
In the Rename Macro dialog box, enter the new name for the macro.
See naming conventions in the Oracle Essbase Database Administrator's Guide.
Optional: To overwrite macros that duplicate the name of the renamed macro, select Overwrite existing macro.
Click OK.
Essbase renames the macro and updates Enterprise View.
create macro (MaxL) in the Oracle Essbase Technical Reference