Do you know how to put the program into debug? If so, should be easy to find the problem. Also, are you updating the key? If so, is the new key reappearing in the read loop "downstream"? Chris
Unconfigured Ad Widget
Collapse
Announcement
Collapse
No announcement yet.
read only reading 1st five records
Collapse
X
-
read only reading 1st five records
I should never have mentioned keys. I just wanted you to know that the data was different in some fields. You are looking at the program. There is no chains; therefore no need for keys. I have debugged. After the 1st 5 records, it starts reading the 1st record again instead of the 6th. I started out trying to read to *INLR on. That didn't work, so put in another indicator. The strangest thing I have ever seen. Really need to get this fixed. Any suggestions? Oh, and thank you so much for looking at this.
-
read only reading 1st five records
I am trying to read all of a file that contains a whole 15 records. The first five records contain the same key fields. The 6th and 7th records have different key fields. The 8th, 9th, and 10th records contain different key fields as well. However, the key fields shouldn't matter, for I am just doing a read. I want to read all of the records. My read is just reading and updating the 1st five records, updating the fields, and goes into a continuous loop. I have had 2 other programmers look at this without a resolution yet. Please help to me read a file and write a record on a whole file.
Code
Comment
Comment