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. 
  | 
            
| 206 | The job report file cannot be opened. | 
| 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. | 
You can define the return code as of which the job should abort in the Job object's Runtime tab.