Products Downloads


French version


 

Access

To modify the value of a data item, select function key F10 in the Evaluate a variable or a view (HA#EVAL) screen.

 

Note: You can also enter the HA#EVAL command directly in the "Debug" line, followed by the variable name.

 

 

Function keys

Refer to the relevant IBM guide for more details.

 

Data entry

Variable or view of the model

Adelia guide word for the variable or view to be evaluated, or for the Adelia reserved word.

 

Class

Data type to be evaluated.

Possible values:

"*VAR"

The data item to be evaluated is a variable in the current module (or a reserved word). Default value.

"*VIEW"

The data item is a view in the current module.

 

Output format

Possible values:

"*CHAR"

The value will be displayed in character mode. Default value.

"*HEX"

The values of data belonging to the variable class will be displayed in hexadecimal mode.

 

Note: Views will be displayed using the EXISTS and DOES_NOT_EXIST predicates.

 

New value

New value to be assigned to the data item.

This value can either be a constant or the guide word of an Adelia variable.

With alphanumerical constants, the value must be entered between apostrophes.

 

Special case: In order to assign the value of an array element to a variable, you need to enter the command directly, without using the prompt screen. This is because the command prompt automatically inserts apostrophes. This means that the array element variable would otherwise be interpreted as being a constant.

Example:

HA#EVAL CORD_KEY VAL(TABLE(5)) to assign the value of element 5 in the array TABLE to the variable ORD_KEY.

 

Direct command entry

You can also enter the HA#EVAL command directly in the "Debug" line, followed by the variable name.

 

Example:

HA#EVAL CORD_KEY VAL('KEY2') to assign the value 'KEY2' to the CORD_KEY variable.

HA#EVAL CQUANTITY VAL(123) to assign the value 123 to the CQUANTITY variable.

 

↑ Top of page

  • Aucune étiquette