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'.
Release : 21.0.1
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.
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.