Agent has oscomponent.noexitcode set, and does not return all the exit codes.

Document ID : KB000051504
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

The oscomponent.noexitcode is setup to exclude one exit code from being reported back by the agent.

In CA Workload Automation Agent, the value of oscomponent.noexitcode is set to 255 in the agentparm.txt.

This can cause issues when certain users have special programs/scripts that return exit code 255.

Solution:

Set oscomponent.noexitcode=256 for Linux/UNIX agents. This will allow special user programs/scripts to return all the codes between 0-255.

In Windows, set the value to the highest 32bit integer on for 32bit Windows OS. This will allow the agent to capture and return all the exit codes.