Linux JOBS executed with &UC_JOBMD CMD= are always ending with the status “ENDED_OK”, regardless of the error code 1 returned after upgrading the Automic Automation from v21 to v24.4
&UC_JOBMD CMD="exit 1"
Expected behavior the job fails with return code 1
Observation the job is ended with return code 0
Steps to reproduce
Create a job with &UC_JOBMD CMD="exit 1"
In v24
Program 'UC4 Job Messenger' version '24.4.2+hf.2.build.1761208162592' started
UCMDJP: *********************************************************************
UCMDJP: ** JOB 0001326012 (ProcID:0000034669) START AT 14.11.2025/14:12:30 **
UCMDJP: ** UTC TIME 14.11.2025/14:12:30 **
UCMDJP: *********************************************************************
Program 'UC4 Job Messenger' version '24.4.2+hf.2.build.1761208162592' started
UCMDJP: *********************************************************************
UCMDJP: ** JOB 0001326012 (ProcID:0000034669) ENDED AT 14.11.2025/14:12:30 **
UCMDJP: ** UTC TIME 14.11.2025/14:12:30 **
UCMDJP: ** --------------------------------------------------------------- **
UCMDJP: ** RET-CODE: 0 **
UCMDJP: *********************************************************************
AE version 24.4.0.hf2 Linux agent version '24.4.2+hf.2.build.1761208162592
DE175707
Update to a fix version listed below or a newer version if available.
Fix version:
Component(s): Automation.Engine - Agent Unix Java
Automation.Engine 24.4.3
Public Description: ucxjlx6m do not return the proper return code if CMD= is used