Batch Execution ending with U02000009 Job 'ORDREV' with RunID '2981819' ended with return code '2'.
search cancel

Batch Execution ending with U02000009 Job 'ORDREV' with RunID '2981819' ended with return code '2'.

book

Article ID: 258742

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

A batch  failed again and again but completed after rerunning multiple times. Log shows below message which it failed. 

Batch Execution ending with U02000009 Job 'ORDREV' with RunID '2981819' ended with return code '2'.

Environment

Release : 21.0.1

Resolution

Retrun code 2 is indication of either a permissions problem or a missing keyword in script. Check if anything is missing in script. 


Also check the current Ulimit on agent. 

ulimit -a

What is the value it has ? 

Execute below command to set max 64000

ulimit -n 64000

Monitor the system. If you still see batch jobs are failing with Return Code 2 , Open issue with  Broadcom Support.