HELPLIB.HLB  —  COBOL  Run-Time Messages, LOCKED_FAILED
  Record locked by another user; not available

  Explanation:  The system attempted to perform an operation on a
  record that was already locked by another file connector or program.

  User Action:  You must take the following actions:

      a. In a file sharing environment, this condition is expected
         to occur from time to time.  Add a declarative procedure to
         trap this error.

      b. If your program does not require sharing that file, remove
         the ALLOWING clause from the OPEN statement and the APPLY
         LOCK-HOLDING clause in the ENVIRONMENT DIVISION (if present).
Close Help