RATE THIS ANSWER
0
Click to Vote:
0
0
Hi,
You need to SETLL with the same value that you READE with. In your example the SETLL points to the beginning of the file, then the READE tries to read the NEXT record with a key equal to the factor 1 value, but the next record doesn't have 12 as a key, therefore it fails.
Typically, If you have multiple keys, you would have a longer key for your SETLL to get an accurate start position, then a shorter key for your READE.
Regards,
Martin Gilbert.
Last Answered:
Aug 21 2008 10:14 AM GMT by Gilly400 
23625 pts.