The statement must be completely within the /IF block.
30
Cause . . . . . : If a statement begins within a section of code conditioned by a /IF, /ELSEIF, or /ELSE directive, the statement must be completed before the next /ELSEIF, /ELSE, or /ENDIF directive.
Recovery . . . : Correct the placement of the directives.