runtime error U00020922 when GENERATE_SCRIPT_VARS is used
search cancel

runtime error U00020922 when GENERATE_SCRIPT_VARS is used

book

Article ID: 204224

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

An error occurs when using the script function GENERATE_SCRIPT_VARS after update to AE V12.3.4

 

Error:

U00020922 Runtime error in object '<objct name>' line '<line_nr>': The Storage object '$PROCESS01' does not exist.

 

The issue can be reproduced with the sript below:

:SET &PARAMETER# = "MY_VARA#"

:SET &VALUE# = "That is my value"

:DEFINE &TempVaraValueArray#,String,2

:SET &TempVaraValueArray#[1] = "&PARAMETER#"

:SET &TempVaraValueArray#[2] = "&VALUE#"

:SET &TempDS# = CREATE_PROCESS(NEW)

:SET &PPL_RC# = PUT_PROCESS_LINE(&TempDS#, &TempVaraValueArray#[])

:SET &SP_RC# = SAVE_PROCESS(&TempDS#)

:SET &GSV_RC# = GENERATE_SCRIPT_VARS(&TempDS#,,UPDATE)

:SET &GSV_RC# = FORMAT(&GSV_RC#)

:IF &GSV_RC# <> 0

: PRINT "WARNING: Could not read variables from data sequence. Name: '&PARAMETER#'. Value: '&VALUE#'. "

:ENDIF

:CLOSE_PROCESS &TempDS#

 

 

 

Environment

Release : 12.3.4

Component : AUTOMATION ENGINE

Cause

software bug

Resolution

Solution:

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


Fix version:

Component(s): Automation Engine

 

Automation.Engine 12.3.6 - Available
Automation.Engine 12.2.8 - Available