ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Jobs Running For Ever

book

Article ID: 41345

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent

Issue/Introduction

Problem:

Jobs remains in running status for ever, while it fails on the agent with an error code.

Environment:

All agent supported OS above r11.3 versions.

Cause:

When job fails with any specific error code on the agent, the status will not be sent to the scheduler

This happens when the below parameter is not set in agentparam.txt file :

oscomponent.noexitcode

Resolution:

When job runs for ever on the scheduler and you notice that the job has already failed on the agent with an error code in the spool file

Please add the following parameter to agentparam.txt for the respective agent and restart the agent: oscomponent.noexitcode=256  

Environment

Release: ATSYHA99000-11.3.6-Workload Automation AE-High Availability Option
Component: