How can a UNIX job exit code be -1?
Component: WORKLOAD AUTOMATION AGENTS
The exit code range is different depending on the operating system. For UNIX, the range is 0-255.
If the UNIX JOB has return code -1, the system converts -1 to 255 and inform the agent.
In the agentparm.txt, there is a parm noexitcode that has the default value of 255 so the agent won't send the exit code 255 to the mainframe.
Thus on CSF, these JOBs show as "Executing" even though they have failed on the UNIX server.
If there are JOBs with return code -1, you can change the noexitcode to 256 (or any unused value) and recycle your agent. This will result in CC 255 in the CSF for jobs that have return code -1.