Software AG Command Central 10.2 | Command Central Developer Reference | Using the Command Line Interface | Return Codes from Command Execution
 
Return Codes from Command Execution
The following table lists the return codes that can result from executing a Command Central or Platform Manager command.
Return Code
Description
0
Indicates the execution of the command was successful. A command returns 0 when the HTTP response code is less than 400.
1
Indicates that the command syntax is not valid.
10
Indicates the output that a command returned does not match the expected values specified with the {--expected-values |-e} option.
response-code
Indicates the command execution resulted in an error. The return code is the HTTP response code. A command uses this return code when the HTTP response code is greater than or equal to 400.
Note: On Unix, return codes greater than 256 are considered "Out of range exit values." As a result, when executing the commands on a client machine that runs on Unix, if the HTTP response code is greater than 256, the return code is response-code modulo 256.

Copyright © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release