Suppose you need a file that:
Logs in 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.
Exits ESSCMD.
The following script file does the job:
LOGIN "Poplar" "TomT" "Password"; SELECT "Sample" "Basic"; DISABLELOGIN; IMPORT 2 "ACTUALS" 4 "Y" 2 "ACTUAL" "N"; CALCDEFAULT; ENABLELOGIN; EXIT;
On Windows, this script file, sample1.scr, is available in \ARBORPATH\APP\SAMPLE\BASIC. On UNIX, Sample.scr is in /$ARBORPATH/app/Sample/Basic.