Difference between revisions of "Collecting Return Codes from CMOD utilities"

Added RC 768 for arsdoc return codes, updated descriptions for all other arsdoc errors and warnings.
(Updated CMOD Return Code 6 to describe failures like ARS1127E.)
(Added RC 768 for arsdoc return codes, updated descriptions for all other arsdoc errors and warnings.)
Line 14: Line 14:
|-
|-
|style="text-align:center;"|1
|style="text-align:center;"|1
|No hits
|No hits.  There were no documents that met the search criteria.
|-
|-
|style="text-align:center;"|2
|style="text-align:center;"|2
Line 20: Line 20:
|-
|-
|style="text-align:center;"|3
|style="text-align:center;"|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.
|Generic Error.  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.
|-
|-
|style="text-align:center;"|4
|style="text-align:center;"|4
|Unrecoverable error. For example, the operation failed, or the user cannot connect to the server.
|Unrecoverable error. For example, the operation failed, or the user cannot connect to the server due to it being down, or being unable to authenticate.
|-
|style="text-align:center;"|768
|Warning - A limited number of results were returned.  You probably used the <code> -L # </code> parameter to limit the number of returned hits from your query.  See: [http://www.odusergroup.org/forums/index.php/topic,3346.0 ODUG Forums Post]
|}
|}
Unfortunately, utilities like arsdb, arsload, arssockd, and arsxml don't have documented return codes in IBM's Content Manager OnDemand official documentation. However, it's safe to assume that a non-zero exit code means there was a warning or error encountered, and the results should be investigated.
Unfortunately, utilities like arsdb, arsload, arssockd, and arsxml don't have documented return codes in IBM's Content Manager OnDemand official documentation. However, it's safe to assume that a non-zero exit code means there was a warning or error encountered, and the results should be investigated.