To get information about variables you can use three predefined function variables:
Variable &M will contain 8, the maximum possible length of variable &VAR, as defined in the VDEFINE statement.
Variable &S will contain 5, the length of the value currently kept in variable &VAR
Note: The variable name must be entered without '&'.
Possible values are:
ARRAY Indicates that this is an array variable
BIN Indicates that this is a binary variable.
CHAR Indicates that this is a character variable.
UPCHAR Indicates that this is an uppercase character variable.
HEX Indicates that this is a hexadecimal variable.
NOTRUNC Indicates that the variable will not be stripped of trailing blanks when substitution takes place.
NUM Indicates that this is a numeric variable.
UNDEFINED Indicates that this variable is not defined.
This value can be attached to the ones above:
ACL Indicates that the variable was defined in ACL/E
SET T,&SIZE_OF(VAR) <--- without '&'
Variable &T will contain string 'CHAR ACL'.