FNC_Get_GLOP_Map Function | C Library Functions | Teradata Vantage - FNC_Get_GLOP_Map - 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
Language
English (United States)
Last Update
2023-07-11
dita:mapPath
iiv1628111441820.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
B035-1147
lifecycle
latest
Product Category
Teradata Vantageā„¢

Get the GLOP set map information associated with an external routine.

Before an external routine can access any GLOP data, it must call FNC_Get_GLOP_Map. The call serves two purposes:
  • It lets the system know that the GLOP memory is going to be used.
  • It ensures that new mappings will be registered and that old mappings will be restored.

FNC_Get_GLOP_Map returns an integer that indicates success or failure.

A returned integer of non zero indicates that the mapping has not been done.

Value Meaning
0 Map was set up.
-1 The GLOP set was not mapped because the maximum vproc GLOP memory limit has been reached.

To change the limit, use the cufconfig utility. For details, see Utilities.

-2 The GLOP set was not mapped because the external routine is no longer a member of the GLOP set, the set no longer exists, or the database where the routine resides is no longer a member of the set.