You have used a conditional statement (one which specifies that the truth value of a condition is to be determined at run time) in the Procedure Division where an imperative statement is expected.
Resolution:
Replace the statement with one that begins with an imperative verb and is followed by a specification of an unconditional action to be taken at run time.