SUMMARY:
When a Strategy Command Manager 9.4.x script is executed and an instruction which contains an error causes it to terminate abnormally at any stage, an exit code will be shown in the command line. The following is a list of Strategy Command Manager 9.4.x exit codes:
Exit code | Meaning |
0 | No error. The script executed successfully. |
-1 | A registry key or file required for Command Manager was not found. |
1 | Command Manager was unable to load and prepare its operating environment. |
2 | The command line parameters could not be parsed. |
3 | Your Command Manager license has expired. You can view license information in License Manager. |
4 | Command Manager was unable to establish a connection to Intelligence Server. |
5 | Command Manager was unable to establish a connection to Narrowcast Server. |
6 | The script contained a syntax error. |
8 | Intelligence Server returned an error. |
9 | Narrowcast Server returned an error. |
10 | A file-related operation failed. For example, the script may have tried to write to a read-only file, or read from a file that does not exist. |
12 | The script contains a statement that is not supported in Command Manager Runtime. For a list of statements available to Command Manager Runtime, see List of statements supported in Command Manager Runtime. |
15 | The script file is empty. |
ADDITIONAL INFORMATION:
Strategy Command Manager error code can also be returned to Windows Task Scheduler if the command is scheduled to be executed with Windows tasks. The error code can be found in history of task execution.
The error code above only applies for Strategy Command Manager 9.4.x. For other versions, refer to Strategy Command Manager Help document>Executing a script>Executing a script from the command line>Command line execute codes.
KB208324