LOCKWAIT= LIBNAME Statement Option

Specifies whether to wait indefinitely until rows are available for locking.

Valid in: SAS/ACCESS LIBNAME statement
Category: Data Access
Default: DBMS-specific
Data source: Informix, Oracle
See: LOCKTIME= LIBNAME option

Table of Contents

Syntax

LOCKWAIT=YES | NO

Syntax Description

YES

specifies that SAS waits until rows are available for locking.

NO

specifies that SAS does not wait and returns an error to indicate that the lock is not available.

Last updated: February 3, 2026