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

SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
rin1593638965306.ditamap
dita:ditavalPath
rin1593638965306.ditaval
dita:id
B035-1147
lifecycle
previous
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.