WHAT IS THAT???
Posted in 1995
Timothy Hood — — source: Informix-list mailing list archive (1991-1998)
J> From: jimyonfire@aol.com (Jimyonfire)
J> Error 107 means that the record you are trying to read is normally locked
> by another process.
J> Use these statements to avoid this Problem.
> SET LOCK MODE TO WAIT
As an additional note, I would set lock mode to wait x seconds. Otherwise,
it will wait indefinitely for a lock. Further, you could loop the retry
if desired, with error checking logic. The result (for an interactive
process could be):
set lock to wait a while
try
if fail, ask user if they want to keep trying
if yes, reloop try
---
~ SPEED 1.40 [NR] ~