Description :If a uproc script only contains set resexe=%errorlevel%, the job will abort because the default value of error-level is 1. This issue occurs only when there are no other commands in the script.
Cause
Cause type: By design Root Cause: This is by design.The value of the variable RESEXE needs to be changed accordingly.
Environment
OS: Windows
Resolution
This issue occurs only when there are no other commands in the script. When another command is present in the script, error-level will be set to the exit code of that command.