ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

The value of Numeric Type Variables starting with "0" are missing the "0" when displayed via UVC or when used inside an Uproc

book

Article ID: 86397

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

Error Message :
No errors

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

Description :The numeric variable task with a value '0' at the beginning of the number isn't take into account on the UVC display and in the variables on the header uproc

Cause

Cause type:
By design
Root Cause: N/A

Environment

OS: All
Related configuration item(s): any version of Dollar Universe 5/6

Resolution

The behavior is by design as the variable is numerical and therefore the 0 is interpreted and bypassed.

In case you want to keep the 0, you need to set the variable of type "Text" instead of "Numeric".

The same behavior occurs on a bash script in UNIX:

############
[[email protected] tmp]# ./glc.ksh
i=05
++ i=05
let i=$i
++ let i=05
echo $i
++ echo 5
5
############

Fix Status: Released

Fix Version(s):
Component: Application.Server
Version: Dollar.Universe 6.7.41

Additional Information

Workaround :
N/A