Databases Reference
In-Depth Information
CALCDEFAULT; /* Executes the default calculation on the selected
database */
IFERROR "ERROR"; /* On an error the script will branch to the
"ERROR" line */
UNLOADDB appName dbName; /* Unloads the specified database
from memory */
IFERROR "ERROR"; /* On an error the script will branch to the
"ERROR" line */
UNLOADAPP appName; /* Unloads the specified application from memory */
IFERROR "ERROR"; /* On an error the script will branch to the
"ERROR" line */
OUTPUT 3; /* Turns off script logging */
LOGOUT; /* Logs out the script and exits */
:ERROR /* Script branches to here and resumes execution on error */
OUTPUT 3; /* Turns off script logging */
EXIT; /* In this case we exit the script */
Remember, all command lines must end with a semi-colon. If you wish to add
comments to the script, you would follow the example below using a /* to begin a
comment and a */ to end a comment:
/* This is an EssCmd comment line */
Executing an EssCmd
There are two easy ways to execute Essbase Commands. First, there is the interactive
command line processing where you are logging in and executing commands from
the DOS command prompt. Second, is the batch processing method, where you
actually launch a batch job from either your desktop PC or on an application server.
Let's continue and learn a little bit more about each method.
EssCmd processing from command prompt
Interactive Essbase command prompt mode lets you interactively enter commands
at the EssCmd command line and receive short responses. Interactive command line
mode is convenient and preferable for short operations that require few commands,
no checking for information on the fly, and little error checking.
 
Search WWH ::




Custom Search