Return Code From the Command-line Interface
To determine the result of running the Varicent Incentive Compensation Management (ICM) command-line interface (CLI), you can check the value that is returned to the caller, either the operating system or another process or tool.
The third-party tool that is used to call Varicent ICM through the CLI might need to know whether the called process was able to complete successfully. These values can be returned:
A value of
0
(integer) indicates a successful executionA value of
-1
(integer) indicates failed execution
The procedure for collecting a return code depends on the method that is used to start the Varicent ICM application. It is up to the caller of Varicent ICM CLI to capture these values so that this information can be used to take further action.