Exit codes used by ARSDOC

The ARSDOC command uses the following exit codes:
0
Success
1
No hits
2
Syntax error. For example, the parameter or value is invalid.
3
An error occurred with the specified request. For example: the user ID has an incorrect permission level, the specified folder does not exist, or the specified database field does not exist.
4
Unrecoverable error. For example, the operation failed, or the user cannot connect to the server.