"NOT" can only be used as an operator in calculation expressions.
20
Cause . . . . . : "NOT" is the negation operator for logical expressions. It cannot be used as a name.
Recovery . . . : Replace "NOT" with a valid RPG name. Compile again.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.