Closed samdion1994 closed 9 months ago
Hi @samdion1994
There is a lot of work not yet done, regarding file management. This is one of the situations, that cannot yet be managed by COBOL Check. We usually recommend our developers, to isolate the code that needs to be mocked, inside a new section or paragraph, and then mock the section.
In this situation that is not enough, because the compile will fail.
Atm. I suggest commenting the entire read - end-read statement. Regarding testing the at end statement, I currently have no good answer to that.
Thanks for the input :)
Hi @Rune-Christensen,
I happened to see this error the other day. Care to share your thoughts?
ends up giving me
" READ THIS-FILE INTO THAT-VARIABLE"; " AT END"; " DISPLAY ALLO"; " END-READ";
I could comment the whole thing but then how would we test the AT END.
I can fix it, just not sure how to go about it thanks!