Michael Todd (mtodd@shore.net) wrote:
: Error 244 (Could not do a physical order read to fetch next row) has been occurring more frequently in our application. It comes up during a fetch next row call. When we get the error, that particular query is incomplete; however subsequent queries work fine. We are even able to repeat the same query and it work fine on the second try.
It's probably because the row is locked the first time you tried to access it.
Which documentation are you looking at? I think it should say something like:
Unless the ISAM error points to another cause...
In this case, your ISAM error should be something like -107: Record is locked.
Also, I think that the fact that you are getting "Could not do a physical
order read" means that you are doing a sequential scan, not using an index.
In this case, it may not be the actual row you are trying to read which is
locked, it may be another row that you are trying to read PAST.
June
---- June Tong Informix Asia/Pacific ----
---- On-Loan Engineer Singapore ----
---- Location-du-jour: Bangkok ----
---- junet@informix.com (65) 298-1716 ----