Exit codes used in the command line
Published 03 May 2019
| Code | Description | Additional information |
|---|---|---|
| 0 | Success | |
| 1 | General error code | |
| 3 | Illegal argument duplication | Some arguments may not appear more than once in a command line. If such arguments appear more than once, this exit code will be returned. |
| 8 | Unsatisfied argument dependency or violated exclusion when user runs command line | For example, /arg2 depends on /arg1 but you have specified /arg2 without specifying /arg1. Alternatively, /arg2 cannot be used with /arg1 but you have tried to use them both. |
| 32 | Value out of range | Numeric value supplied for an argument that is outside the range of valid values for that argument. |
| 33 | Value overflow | The magnitude of a value supplied for an argument is too large and causes an overflow. |
| 34 | Invalid value | The value supplied for an argument is invalid. |
| 35 | No / invalid software license or trial period has expired | |
| 63 | Error | |
| 64 | General command-line usage error | |
| 65 | Data error | Some input data required by the tool is invalid or corrupt. |
| 69 | A resource or service required to run the tool is unavailable | |
| 70 | Internal software error | This code is returned when SQL Doc fails with an unknown exception. If SQL Doc returns this exit code, contact support. If you submit a support request, it's useful for us if you attach a log file. |
| 73 | Failed to create report | |
| 74 | IO error occurred | This code is usually returned if the program attempts to write to a file that already exists without the user having specified the /force option. |
| 77 | Action cannot be completed because the user does not have permission | |
| 80 | Standard error output | This code is returned when there is any output on the standard error stream and there isn't a more specific exit code available. |
| 126 | Execution failed because of an error | |
| 130 | Execution stopped because Ctrl+Break | |
| 400 | The command line arguments cannot be properly executed | |
| 402 | There is no acceptable license | For information about finding your serial number and activating your license, see Licensing. |
| 499 | Activation was cancelled because the Cancel button was pressed during the process | |
| 500 | An unhandled exception occurred | The exception's message and stack trace will be included. If the error persists, contact support. |