FNC_GLOP_Lock Function | C Library Functions | Teradata Vantage - FNC_GLOP_Lock - Analytics Database - Teradata Vantage

SQL External Routine Programming

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2023-07-11
dita:mapPath
iiv1628111441820.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
B035-1147
lifecycle
latest
Product Category
Teradata Vantageā„¢

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.