Resolution:
This statement is not supported when coded in the Procedure Division. Move it into Working-Storage Section and then recompile the program.