When executing jobs on i5OS (or AS/400) agents, the jobs fail with errors "Spool file reading failure. Unable to retrieve
*SEVERITY return code. See previous messages in the log.".
Job exits with error code 4001.
As of now, the default completion code in the agent for a job is the job's ending severity code. In previous versions (Version 2), the completion codes are zero (0) for job success and 4001 for job failure. Edit the agentparm.txt to allow agent to interpret the exit codes correctly.