Global variables

Global variables are variables created in HATS Toolkit and used by HATS projects. Global variables are stored outside of the macro script in the HATS .hma source file. They are maintained and updated by HATS runtime. There are two types of global variables:
Local
A local global variable is one that is created within a HATS project, and is only visible to the project.
Shared
A shared global variable is one that is visible to and can be used by all the Web applications in an .ear file or by all rich client applications in a rich client environment.
Whether a global variable is considered local or shared depends on whether the Shared check box in the GUI is selected when the global variable is created, or whether the value of the shared attribute of a set, prompt, or extract tag is specified as yes or no in the HATS .hma source file.