IF READ-OLD = 'Y'
READ OLD-FILE
AT END MOVE HIGH-VALUES TO ACCOUNT-O
END-READ
END-IF
IF READ-TRANS = 'Y'
READ TRANS-FILE
AT END MOVE HIGH-VALUES TO ACCOUNT-T
END-READ
END-IF
The error occurs when I try to read OLD-FILE. However, if I switch the two almost identical...
Let me see if I can make my question more specific.
Is it a problem with the program or the file I'm reading. I have tried recreating the file and even using the exact same file that the program reads fine.
There are no warnings or errors when the program compiles, but that doesn't...
Jack,
Thanks for your help. I am a student. I was trying to find some manuals on line, but woe is me. :)
I'm still confused, though. The program reads two files that are almost identical and reads them in the exact same way at the exact same time. Why would it decided to crap out on this...
I suddenly started getting that error with an INPUT file I'm using. The file is there and has the correct name and everything. This error pretty much appeared out of the blue, and I have no idea what it means.
Can anyone help?
Thanks in advance!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.