Cobol errors, cannot seem to figure it out

I’m encountering compilation errors in my COBOL program, where the compiler is indicating that file names like ‘INPUT-FILE’ and ‘OUTPUT-FILE’ are not defined. Despite defining these files in the FILE SECTION of the program, the compiler seems unable to recognize them. I’ve tried adjusting the I/O setup, but the errors persist. Can anyone help me understand why these errors are occurring and how to resolve them? Below is a snippet of my COBOL code for reference.