The built-in function %SUBARR is not allowed in this expression.
20
Cause . . . . . : The built-in function %SUBARR is not allowed within an expression involving the relational operator AND or OR. The built-in function is ignored.
Recovery . . . : Remove %SUBARR from the expression. Compile again.