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

book

Article ID: 51504

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) CA Workload Automation Agent CA Workload Automation Agents DSERIES- SERVER CA Workload Automation DE - System Agent (dSeries)

Issue/Introduction

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.

Environment

Release: CAWAS999000-11.1-Workload Automation-Agent for Application Services
Component: