Job fails with the exit code -655
search cancel

Job fails with the exit code -655

book

Article ID: 45348

calendar_today

Updated On:

Products

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

Issue/Introduction

Client is getting error message -655 and he needs to get info on this error code and ask for a solution.

Environment

Component: Workload Automation AE

Cause

The job fails because the scheduler has exceeded the number of restart attempts.

Resolution

-655 exit code indicates that the job fails because the scheduler has exceeded the number of restart attempts.

You can use the "n_retrys" attribute in the job definition :

This attribute has the following format: 

n_retrys: attempts 

attempts 

Defines the number of times to attempt to restart the job after it exits with a FAILURE status. 

Limits: This value can be any integer in the range 0 to 20. 

Default: 0 

Note: The n_retrys value applies when the command associated with the job fails.

When a job fails for other reasons, such as invalid credentials or unavailable space, the MaxRestartTrys value in the configuration file defines how many times the job should be restarted. When the MaxRestartTrys value is zero, the job is not restarted.