General discussion

Locked

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?

Steve

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Back to Web Development Forum
2 total posts (Page 1 of 1)  

Related Forums