DUAS6: universe command does not control argument's "-id" length
search cancel

DUAS6: universe command does not control argument's "-id" length

book

Article ID: 136340

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

When trying to get the name of an object using its ID, if you make a typo on the ID, you might not have the correct answer via the command "universe".

 

Example, uproc ID is limited to 10 characters : U000000001 

If you write U0000000010 (11 characters), you will get the name of object U000000001 which can be misleading. 

 

 

Environment

Release : 6.x

Component : DOLLAR UNIVERSE

Cause

This is due to the fact IDs are not limited to 10 characters depending on the objects type. 

For example, User's ID has 12 characters and Resources 20 characters.

Resolution

Update to a fix version listed below or a newer version if available.

 

Fix version(s): 

Component: Application.Server

Dollar Universe 6.10.11 - Released 2nd October 2019

Additional Information

From Dollar Universe 6.10.11, "universe -getname" command returns a warning if the ID length is bigger than expected for its object type. 

 

Example : 

C:\Companies\COMPANY_NODE\bin>universe -getname -id U0000000123 -type upr 

 

WARNING: ID [U0000000123] length [11] is too long for Object Type [upr] length [10]. Truncated value will be used. 

DEMO_CL_INT_PERL_WINDOWS_RETURN_CODE_5