You can save a calculation script in the following locations:
As an artifact on an Essbase Server, which allows other users to access the calculation script. You can associate the script with the following artifacts:
An application and all the databases within the application, which lets you run the script against any database in the application.
Calculation scripts associated with an application are saved in the ARBORPATH/app/appname directory on the Essbase Server computer.
A database, which lets you run the script against the specified database.
Calculation scripts associated with a database are saved in the ARBORPATH/app/appname/dbname directory on the Essbase Server computer.