When a BAT script is called using an uxexechidden function, the default Windows ERRORLEVEL and resexe work differently.
When a BAT script is called directly from an Uproc, then $U is looking for the value of resexe to define the job status (Completed or Aborted).
When uxexechidden is called, $U is waiting for a return code instead of resexe.
Release : 6.10
Component : DOLLAR UNIVERSE
uxexechidden is not considered as a BAT script but a command call with all the data as arguments.
Set 'exit $?' or any 'exit <value>' in your bat call to get a prooper return code in $U.
Please note that this "exit" should never be done in a bat called directly in $U (only with uxexec)