Skip to main content

Problem:

Using an ISAM file you get a run time error 9/018 for .exe or .lbr:

'Read part record error: EOF before EOR or file open in wrong mode'

for a READ NEXT statement after OPEN I-O  successfully.

What should I do to avoid this because as an .int or .gnt the application does run as well?

Resolution:

This ISAM file was built using data compression, you should take a look at DATACOMPRESS compiler directive first.

There are two values regarding a data compression environment supported at run time: 1 or 3.

Using value 1 you have to link additional CBLDC001.obj from ..\\base\\lib into .exe otherwise using value 3 you have to link CBLDC003.obj.

Old KB# 6893