Web Development

General discussion


COBOL Read Next "fails"

By SteveJW ·
I have a Liant COBOL program with a start and read next that both return file status of "00" but when watched thru the debugger the start works exactly right and returns the proper position in the file. The very next sentence is the 'read next' that ALWAYS returns the 00 AND the FIRST record in the file no matter where the start pointed.

I have watched this idiot sentence return the wrong record while the value fed to the key before the start remains valid and points to a much later record in the file.

This has happened so many times in the debugger I even called Liant to see if I was missing something -- not according to them.

Any good ideas?


This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Related Discussions

Related Forums