MicroStrategy ONE

Using the text-based Command Manager interface

In addition to the graphical user interface and the command line execution, Command Manager has a text-based command line interface. With this interface, you can create and execute Command Manager scripts in an environment where the graphical user interface is unavailable, such as when accessing a UNIX computer via telnet.

The command-line interface has two modes:

When you start the command line interface, it is in console mode, with a connection-less project source connection. The command prompt in console mode displays the metadata source and user to which Command Manager is connected. If it is using a connection-less connection, it reads "Not Connected-MSTR" for a connection-less project source connection, or "Not Connected-NCS" for a connection-less Narrowcast Server connection.

command-line interface

Entering a Command Manager script instruction switches Command Manager into edit mode. From edit mode you can continue typing your script. You can also save or execute the script. For more information on edit mode, see Editing, saving, and executing a script.

To start the Command Manager command-line interface

  1. From the Windows Start menu, choose Run.

  2. Type cmd and press ENTER. A command line window opens.

  3. Navigate to the directory that contains Command Manager. By default, this is C:\Program Files\MicroStrategy\Command Manager\Command Manager.

  4. Type cmdmgr -interactive and press ENTER. The command line interface opens, in console mode, with an active connection-less project source connection.

To see a list of instructions for the command-line interface

Type help and press ENTER. A list of Command Manager command line instructions and an explanation of their effects is displayed.

To exit Command Manger

Type quit and press ENTER. Command Manager exits.