Posted by Grant Foraker on May 24, 2012 at 12:14:15:
In Reply to: It's about LOCK posted by steve auerbach on May 23, 2012 at 12:14:56:
Since the last big changes to LOCK mentioned by Comet Woman, LOCK has been very stable. CometFile 11.4 has also been VERY stable.
I use LOCK in two ways.
1) LOCK a transaction file (like R2) for the duration of the program. I have a generic "who has" routine based on SNAPSHOT that will expalain to another user the who and why of the lockout. There may also be a flag in the Z1 that mostly serves for restarts.
2) LOCK a major file, set a flag in Z1, and UNLOCK the file. Programs I want to block check the flag before attempting an open. Other programs and the Reporter aren't impacted.
Haven't had a problem with a "hung" LOCK for a year or so.
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.