5 6 2 aXes Terminal Operations Script Variables

LANSA Composer

5.6.2 aXes Terminal Operations Script Variables

You can specify a Processing Sequence variable name in selected columns of the aXes Terminal Operations script.

Specifically, the columns for which you may specify a Processing Sequence variable are:

4. Field name (axSF)

5. Field index (axSX)

9. Field value (field name)  (axVX)
(this column, when used, must contain the name of a Processing Sequence variable).

Variable names permit you to pass and receive variable data between your Processing Sequence and the script routine by referencing variables in your Processing Sequence. The Processing Sequence variables may provide or receive screen values for SET or GET operations. They may also provide the aXes screen field name and/or index that a SET or GET operation is to reference.

To specify the name of a Processing Sequence variable, specify the variable name preceded by an ampersand (&) – for example &MYVARIABLE1.

A single script routine may reference a maximum of ninety-nine (99) different Processing Sequence variables.

Note that this feature does not support the following forms of variable references:
     Built-In variables
     Compound or qualified variables—for example: *tradingpartner.xxx
     Indexed variables—for example: mylist(3)

You could circumvent these limitations by assigning the desired compound or indexed variables to a simple variable name before executing the script.