FNC_GLOP_Lock Function | C Library Functions | Teradata Vantage - 17.10 - FNC_GLOP_Lock - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - SQL External Routine Programming

Advanced SQL Engine
Teradata Database
Release Number
Release Date
July 2021
Content Type
Programming Reference
Publication ID
English (United States)

Lock a vproc-local, read/write GLOP for reading or writing.

FNC_GLOP_Lock returns an integer that indicates success or failure.

Value Meaning
0 Lock was granted.
-1 The index is not valid or the map does not exist.
-2 The lock attempt timed out.
-3 Cannot lock a read-only GLOP.
-4 The GLOP is already locked by this routine. The routine may only perform one lock of any kind at a time.