A constant shelf cannot be declared as variable.
#2150 Compile-time error
A constant shelf cannot be declared as variable.
Additional Information
For T constant 'Y'.
Explanation
A shelf has been declared CONSTANT
and VARIABLE
at the same time. Either replace
CONSTANT
by GLOBAL
or remove the VARIABLE
modifier.