Return Codes for UNIX Jobs

All errors that occur are logged in the activation report of the Job by the Agent.

Depending on the execution of the Job, the Agent also sets one of the following return codes:

  • 0
    No error
  • 1 to 200
    OS error codes
  • 201
    setgid()
    Agent does not have the required privileges
  • 202
    initgroup()
    Agent does not have the required privileges
  • 203
    setuid()
    Agent does not have the required privileges
  • 205
    chdir()
    Change director for the Job user does not exist
  • 207
    Agent fails to create Job report file
  • 208
    dup2(STDOUT)
    Standard output cannot be assigned
  • 209
    dup2(STDERR)
    Standard error output cannot be assigned
  • 210
    execle() error
    Job file cannot be started
  • 211
    Agent fails to create Job file

Note: You can define the return code as of which the job should abort on the Runtime page in the job object properties. For more information, see Runtime Page.

See also:

Unix Jobs