What is the maximum size of ESP Global Variable Table?
search cancel

What is the maximum size of ESP Global Variable Table?

book

Article ID: 27196

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

How to display the Global Variable Table?

 

Environment

Component: ESP Workload Automation
Release:   12.0

Resolution


In Pagemode run  VTLIST command that will display global variable tables.

Each Global Variable Table (GVT) is stored as a single record in the INDEX operational data set (VSAM KSDS).
There is an upper limit to the overall size of the largest GVT allowed, or 32760 bytes.

Here are the sizes of the various elements stored in a GVT:

 Fixed overhead (table header + hash table) = 284 bytes
    Name element (1 per variable) = 21 bytes
    Variable name = 64 bytes max
    Attribute element (1 per variable) = 40 bytes if the length of the variable value = or < 4 or
                                                              40 bytes + length of the variable value rounded up to the next multiple of 8.
    Trigger element (1 per trigger):
     with Event target = 60 + (length of match string) + 1
     with WOB target = 44 + length of AFM (if match string specified- optional)
    Trigger link element (1 per variable/trigger pair) = 16

The amount of free space reported by VTLIST represents the total length of unoccupied space in the GVT. This might not be one contiguous space.