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.
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
COBOL Read Next "fails"
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