Inconsistent statements about maximum length for Array Variable name when using :DEFINE

book

Article ID: 87709

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine AUTOMIC WORKLOAD AUTOMATION

Issue/Introduction

Error Message :
U01001305 Maximal length of the variable name 'ABC45678901234567890123456#': 32 characters.

When creating arrays using :DEFINE with a variable name that is more than 24 characters the above error message will be displayed, which indicates that a 32 character limit has been exceeded.
 
This causes some confusion because the Automation Engine (AE) 11.2 documentation (as referenced below) states:

Unlike script variables the name of arrays may be up to 24 alphanumeric characters long.
 
Is the limit of the array 24 characters or 32 characters?
 
The name of arrays may be up to 24 characters long and variable names have a 32 character limit.
 
Since the index of an array is part of the variable name, and the variable name has a 32 character limit, that is why the error message references the 32 character limit.
 
The message has been changed to:
 
"Maximal length of the variable name '&01': 32 characters. The index of an array is part of the variable name." 

Reference

Cause

Cause type:
By design
Root Cause: The index of an array is part of the variable name: e.g: ABC45678[12345]. Error message to be changed to "Maximal length of the variable name '&01': 32 characters. The index of an array is part of the variable name."

Environment

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

Resolution

This field was added on 30/03/2017. This article has not been updated yet. Refer to the "Description" or "Workaround" sections for solution information.

Fix Status: No Fix

Fix Version(s):
N/A

Additional Information

Workaround :
Use a shorter variable name.