You can copy custom-defined macros to Essbase Servers and applications to which you have appropriate access. You can also copy custom-defined macros across servers as part of application migration. See Migration Wizard.
To copy 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 one or more macros, and click Copy.
In the Copy All Macros dialog box, select the Essbase Server and application to which to copy the macro.
Optional: To replace macros that duplicate the names of the copied macros, select Overwrite existing macros.
Click OK.
create macro (MaxL) in the Oracle Essbase Technical Reference