MicroStrategy ONE

Command line syntax for Command Manager Runtime

The command line options for executing Command Manager scripts using Command Manager Runtime are included in the following table. A full list of parameters can also be accessed from a command prompt by entering cmdmgrlt.exe /?.

If the project source name, the input file name, or any of the output file names contain a space in the name or path, you must enclose that name in double quotes.

Effect Parameters

Connection (required)

Connect to a project source

If -p is omitted, Command Manager assumes a null password.

-nProjectSourceName

-uUserName

[-pPassword]

Script input (required)

Specify the script file to be executed

-fInputFile

Script output (optional; choose only one)

Log script results, error messages, and status messages to a single file

-oOutputFile

Log script results, error messages, and status messages to separate files, with default file names of:

  • CmdMgrResults.log

  • CmdMgrFail.log

  • CmdMgrSuccess.log

-break

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 only want to log error messages, use only the -of parameter.

-orResultsFile

-ofFailFile

-osSuccessFile

Script output options (optional)

Begin each log file with a header containing information such as the version of Command Manager used

-h

Print instructions in each log file and on the console

-i

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

-e

Display script output on the console

-showoutput

Save the results of script instructions in an XML file

-xmlXMLFile

Omit hidden objects in the script results. Hidden objects are MicroStrategy metadata objects whose HIDDEN property is set.

-suppresshidden

Execution options (optional)

Halt script execution on critical execution errors

-stoponerror

Related Topics

Using Command Manager with OEM software

List of statements supported in Command Manager Runtime

Executing a script from the command line

Command line exit codes