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
ft:locale
en-US
ft:lastEdition
2025-03-30
dita:mapPath
iiv1628111441820.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
qnu1472247494689
lifecycle
latest
Product Category
Teradata Vantageā„¢

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

Before an external routine can access GLOP data, the routine must call FNC_Get_GLOP_Map. The call serves two purposes:
  • To tell the system the GLOP memory is to be used.
  • To make sure new mappings are registered and old mappings are 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.