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

Document ID : KB000086397
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
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
Environment:
OS: All
Related configuration item(s): any version of Dollar Universe 5/6
Cause:
Cause type:
By design
Root Cause: N/A
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:

############
[root@vmsdlce633 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