Sample Script: Importing and Calculating Data
The sample1.src file executes the following actions:
Logs on to Essbase Server
Selects an application and database
Prevents other users from logging on and making changes to the database
Imports data from a text file
Calculates the database
Reenables logins
Exits ESSCMD
LOGIN "Poplar" "TomT" "Password";
SELECT "Sample" "Basic";
DISABLELOGIN;
IMPORT 2 "ACTUALS" 4 "Y" 2 "ACTUAL" "N";
CALCDEFAULT;
ENABLELOGIN;
EXIT;