confusedlady
Programmer
The program I'm working on uses several files.One of them contains only one record, and with each successful addition to another file, a value in this record is incremented and the record should be re-written.
I have the organization and access defined as sequential.
The first update is fine, but for the next update, I get an EOF condition.I know this is due to me trying to read the file again, but I don't know how to fix it.
Is there a way to specify that the same record be re-read? Or at end go to the beginning-something like that?
Any help would be appreciated.
confusedlady
I have the organization and access defined as sequential.
The first update is fine, but for the next update, I get an EOF condition.I know this is due to me trying to read the file again, but I don't know how to fix it.
Is there a way to specify that the same record be re-read? Or at end go to the beginning-something like that?
Any help would be appreciated.
confusedlady