Consultor Eletrônico



Kbase P107387: CAN-FIND returns a FALSE even when record exists
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   8/8/2005
Status: Unverified

SYMPTOM(s):

CAN-FIND returns a FALSE even when record exists

Using SHARE-LOCK and NO-WAIT option

The record is locked with EXCLUSIVE-LOCK

CAUSE:

This is an expected behavior.

FIX:

When using SHARE-LOCK option, it specifies that CAN-FIND determines whether the record can be SHARE-LOCKed.
If you use SHARE-LOCK with the NO-WAIT option, then CAN-FIND returns a FALSE value immediately if the record is EXCLUSIVE-LOCKed.