Return Codes

Return Codes decide what happens when the job ends ok or when it fails. Return codes are relevant only for Command Line operations.

In some cases, some return code values may not be considered a failure but just a warning which can be ignored and the job may still end OK. You can create return codes where you can define several rules according to the return code value and set it to fail or set to OK. If the Return code does not match any rule it uses the following default values:

  • 0: Job ended OK.

  • Anything other than 0: Job failed.

You can define several return code handling rules according to the return code value. You can select Fail the job or proceed to next step (the step ended OK). The operations are !=, =,<,>, in range. Where you select = or != more than one value can be selected using ',' between the values. For example: 2,9001,20032.

When you define several rules, the rules are defined in order, so once the rule matches the return code of the step, it sets the job status and stops further processing of other rules.

The following procedures describe how to define and delete a return code.