lockmode

Control operations that access locked records.

USYS$INF_PARAMS lockmode {wait | N}

Arguments

lockmode wait—the process is suspended until the lock is released.

lockmode N—the process is suspended until the lock is released, or after waiting N seconds. If the process is still locked after waiting N seconds, Informix ends the operation and returns an error.

Description

When several transactions are performed on the same set of records, accessing a locked record can generate the error record locked. The lockmode connector option allows you to control operations that lock records.

If this option is not present and a lock error occurs, Informix ends the operation immediately, and returns an error.

For more information on lock mode, see your Informix documentation.