Unable to set launch variable via CLI with value containing a right parenthesis.
search cancel

Unable to set launch variable via CLI with value containing a right parenthesis.

book

Article ID: 243681

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

When trying to create a manual launch via CLI using 'uxadd fla', it is impossible to include a launch variable that contains a closing parenthesis character ')'. No escape character seems to work. It is possible to create the same type of launch via UVC. 

$UNI_DIR_EXEC/uxadd fla exp upr=test vupr=000 mu=TESTMU user=*** pdate=05/05/2022 LAUNCHVAR="(TEST,(TEST11))" LSTART="(05/05/2022,2300)" LEND="(05/05/2022,2310)" INFO="(TEST)"
 

The last parenthesis is stripped, and the value get assigned is (Test11

Reference screen shot 

On creating the same launch via UVC directly, we are able to include the closing parenthesis as value.

Environment

Release : 6.x and 7.x

Component : DOLLAR UNIVERSE APPLICATION SERVER

Cause

The launch created via CLI the parsing of the right parenthesis ) is incorrect and it's a know defect. This happens when the values of the Launch Variables contains parenthesis.

 

Resolution

The issue is tracked under DU_AS-6717 and fixed in below versions.

  • Dollar Universe 6.10.111 - Available
  • Dollar Universe 7.00.11 - Available

Additional Information

Potential Impact: 

  • The commands uxadd fla, uxupd fla and uxrst ctl have been impacted by the change, where if the LAUNCHVAR contains parenthesis in value i.e. "(Var,Value))" the last parenthesis are stripped as described in cause.
  • The Command uxordre is not impacted by above issue, due to different/specific mechanism to process LAUNCHVAR.

Recommendation: 

  • The parameter LAUNCHVAR is optional and should follow the format ((VAR, VALUE),(VAR, VALUE)...). it is recommended to set $LAUNCHVAR containing LAUNCHVAR="((VAR,VALUE)...)" or nothing.