/
lock_arrays

lock_arrays

The lock_arrays operator creates a global array lock that prevents new arrays from being created and prevents updates to existing arrays.

Synopsis

Operator lock_arrays() takes a boolean argument to indicate whether the global array lock shall be installed or removed.

AFL% lock_arrays(true)

Acquires the global array lock if it doesn’t already exist. If the global array lock already exists, then an error message will appear indicating that the lock is already held.

AFL% lock_arrays(false)

Releases the global array lock if it exists. If the global array lock does not exist, then this query will complete without error.