MicroStrategy ONE
Editing, saving, and executing a script
When you type a Command Manager statement and press ENTER, Command Manager enters edit mode. The command prompt changes to the line number of the script followed by a >. For Command Manager statement syntax, see Command Manager syntax.
In edit mode, you can enter additional Command Manager statements to add them to the current script. You can also use the following instructions to execute, check, or save the current script.
EXECUTE
Executes the current instruction set. This command may be abbreviated to EXEC.
EXECANDEXPORTfilename
Executes the current instruction set, and exports the results to an XML file. If the file name contains spaces, it must be enclosed in double quotes (").
CHECK
Checks the syntax of the current instruction set. This command displays the location of the first syntax error found in the instruction set. If no error is found, it displays "Syntax is correct."
SAVEFILEfilename
Saves the current instruction set to the specified file. If the file name contains spaces, it must be enclosed in double quotes ("). You are prompted whether to encrypt the file; if you choose to encrypt the file, you are then prompted to provide the password for the file.
CANCEL
Exits edit mode and returns to console mode.
Any changes you have made without saving are discarded.
QUIT or EXIT
Exits the command-line interface.
Related Topics
Using the text-based Command Manager interface