GENERATE_SCRIPT_VARS trying to access a VARA in client zero doesn't work
search cancel

GENERATE_SCRIPT_VARS trying to access a VARA in client zero doesn't work

book

Article ID: 255302

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

An issue was found where the principle that objects like VARA, LOGIN and TZ would be accessed in client 0 in case there no object with the same name in the own client, is not being followed by the script command GENERATE_SCRIPT_VARS.

 

Steps to reproduce


* create a shared static VARA in Client 0
* create a SCRI in any other client with the following line:
    :SET &ret# = GENERATE_SCRIPT_VARS(VARA.TEST.C0000,APPEND_POUND_SIGN)
* save and execute the  SCRI
==> error: U00020922 Runtime error in object 'SCRI.33290198.SUPPORT' line '00001': The Storage object 'VARA.TEST.C0000' does not exist.

* create the same VARA in the current client
* execute the SCRI
===> no error

The result is the same for three settings in 'Variable usage in other clients'

Environment

Release : 21.0.3

Cause

Software Bug

Resolution

The issue has been fixed by the engineering department and will be available via V21.0.5.

Currently the release is scheduled - but not confirmed - for February 2023.