Previous Topic: Delete a VariableNext Topic: Issue a Command from an Exit Routine


Parameters for Working with Variables

The parameters are as follows:

NAME

Label of the 8-byte area containing the variable name.

ADDR

Label of the area where variable value resides. If you use the ADDR= parameter, the address must point to a storage location that is allocated at least for the life of the variable.

TYPE

One of the following variable types:

CHAR

Character data

UPCHAR

Uppercase character

NUM

Characters 0-9 only

BINARY

Binary data

LEN

Length of area where the variable value resides.

TOKEN

A register pointing to the token passed to the exit.

WKAREA

Label of the 24 bytes of work area.