MicroStrategy ONE
Executing a Script with Command Manager Runtime
Command Manager Runtime is distributed as a single executable file, cmdmgrlt.exe
. By default, this file is installed in this directory:
Program Files (x86)\Common Files\MicroStrategy\
This file is automatically installed with any MicroStrategy installation, so you can use it to silently execute Command Manager scripts for your OEM application.
To execute a script with Command Manager Runtime, call the Command Manager Runtime executable, cmdmgrlt.exe
, with the following parameters:
If the project source name, the input file, or an output file contain a space in the name or path, you must enclose the name in double quotes.
Effect | Parameters |
Connection (required) |
|
Connect to a project source If |
|
Script input (required) |
|
Specify the script file to be executed |
|
Script output (optional; choose only one) |
|
Log script results, error messages, and status messages to a single file |
|
Log script results, error messages, and status messages to separate files, with these default file names:
|
|
Log script results, error messages, and status messages to separate files, with specified names You can omit one or more of these parameters. For example, if you want to log only error messages, use only the |
|
Script output options (optional) |
|
Begin each log file with a header containing information such as the version of Command Manager used |
|
Print instructions in each log file and on the console |
|
In case of an Intelligence Server error, print the Intelligence Server error code and the Command Manager exit code in each log file and on the console |
|
Display script output on the console |
|
Execution options (optional) |
|
Halt script execution on critical errors |
|
You can get the full list of parameters from a command prompt by typing cmdmgrlt.exe /?
and pressing Enter.