STR_SPLIT returns wrong values

book

Article ID: 84516

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine AUTOMIC WORKLOAD AUTOMATION

Issue/Introduction

Error Message :
N/A

Activation Report shows wrong values after script function, STR_SPLIT.

Investigation
Execute debug options show:

U00020404 Script line -> ':DEFINE &x_split_target#, string, 30' 
U00020404 Script line -> ':S &x_target# = STR_SUB(&$Name#, "&c_SchedulerPrefix#[email protected]", "")' 
U00020405 Variable modification -> 'x_target#'='[email protected]_TEST.SCRI|' 
U00020404 Script line -> ':FILL &x_split_target#[] = STR_SPLIT(&x_target#, "$")' 
U00020405 Variable modification -> 'x_split_target#[00001]'='OPD§§§ST_A§§§_TEST.SCRITS§§§LOGOG 532 PAGES IN 0.051 SECONDS (81.351 MB/SEC).1.OG_170714130021.BCK' WITH BLOCKSIZE=4096, INIT, NOUNLOAD, FORMAT, COMPRESSION, NAME='UC4_DB_DEV LOGSAVE'GSAVE'ODEC-1.6.JAR;./LIB/COMMONS-LOGGING-1.0.4.JAR' 
U00020405 Variable modification -> 'x_split_target#[00002]'='ST_A§§§_TEST.SCRITS§§§LOGOG 532 PAGES IN 0.051 SECONDS (81.351 MB/SEC).1.OG_170714130021.BCK' WITH BLOCKSIZE=4096, INIT, NOUNLOAD, FORMAT, COMPRESSION, NAME='UC4_DB_DEV LOGSAVE'GSAVE'ODEC-1.6.JAR;./LIB/COMMONS-LOGGING-1.0.4.JAR;./LIB' 

Cause

Cause type:
Defect
Root Cause: Activation report for variable changes show wrong values for variables set with script function, STR_SPLIT. The length of the values is not correct and wrong characters are shown at the end of the values

Environment

Release: AUTWAB99000-11.0-Automic Workload Automation-Base Edition
Component:

Resolution

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

Fix Status: Released

Fix Version(s):
Component: AE server

Automation Engine 12.1.0 - Available
Automation Engine 12.0.3 - Available
Automation Engine 11.2.6 - Available

Additional Information

Workaround :
N/A