Search key %1 not allowed as part of WHEN phrase arithmetic expression. Accepted.
20
Cause . . . . . : Data items referred to on the right of an equal sign in a WHEN phrase must not be a key for a table.
Recovery . . . : Remove the key reference from the expression.