search cancel

The default error-level in Dollar Universe on Windows is "1", when no other command is present in a given script

book

Article ID: 85648

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

Error Message :
N/A

Patch level detected:Dollar Universe 6.0.00
Product Version: Dollar.Universe 6.0.0

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.

Fix Status: No Fix

Additional Information

Workaround :
N/A