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.
Environment
OS: Windows
Cause
Cause type: By design Root Cause: This is by design.The value of the variable RESEXE needs to be changed accordingly.
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.