Return Codes for UNIX Jobs
The agent logs all occurring errors in the job's activation report.
Depending on the job's execution, it also sets one of the following return codes:
Return code |
Description |
---|---|
0 |
No error occurred. |
1-200 | OS error codes |
201 | setgid() - The agent does not have the required privileges. |
202 | initgroup() - The agent does not have the required privileges. |
203 | setuid() - The agent does not have the required privileges. |
205 |
chdir() - Change directory for job user does not exist.
|
207 | Agent fails to ceate 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 in the Job object. For more information, see Runtime Page.