Job exit codes

The following table defines the codes used to indicate the exit of a job.

Table A-2: Job exit codes descriptions

Exit name

Exit code

Description

unknown

0

The exit code is unknown when the job is first created and should be set to unknown when the job is queued to run.

success

1

The job completed successfully, or the condition monitor has become true.

failure

2

The job failed. This code may also indicate that a job cannot be started because it is already running.

ext_failure

3

The job scheduler detected a failure that was external to the job (for example, a connection problem), and the operating system thread exited.

normal

4

A condition monitor has detected that the condition it was monitoring has returned to a normal state. This code is reserved for a future release.