Job executes a perl script. The script fails with an exit code of 256 but the job completes with SUCCESS in AutoSys.
Workload Automation AutoSys
On Linux/Unix platforms, exit code of a process is set to between 0 and 255. When it's bigger (higher) than 255, it is reset to one between 0 and 255. 256 or multiple of 256 are set to 0.
Work with the application team to modify the script that is being executed by the job. Check for the exit/failure code. If it is a multiple of 256, reset it to one between 0 and 255.
Save and retest the script outside of AutoSys first and then as a job via AutoSys