Using a '-' in a double name (such as Jean-Luc) results in not showing the full name in an output field

book

Article ID: 87972

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine AUTOMIC WORKLOAD AUTOMATION

Issue/Introduction

Error Message :
N/A

There is an issue when using a script with 'sys_user_lname()' when trying to get FIRST and LAST NAME as an output.
The name is not correctly shown when either the FIRST or LAST names contain a '-' (hyphen) such as 'Jean-Luc'.

With '-' (hyphen):

<Please see attached file for image>

0EMb0000001UfZO.png

Without '-' (hyphen):

<Please see attached file for image>

0EMb0000001UfZY.png

 

Cause

Cause type:
By design
Root Cause: This is a limitation to :read as the "-" (hyphen) is a reserved character for read values in order to define a from-->to list. e.g. 00-99.

Environment

OS Version: N/A

Resolution

Should a name contain a hyphen, use a prompt instead of read.

Fix Status: No Fix

Fix Version(s):
N/A

Additional Information

Workaround :
N/A

Attachments

1558692974828000087972_sktwi1f5rjvs16lwt.png get_app
1558692972980000087972_sktwi1f5rjvs16lws.png get_app