GLOP Data Access From an External Routine | Teradata Vantage - GLOP Data Access From an External Routine - 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ā„¢

To access GLOP data, a C or C++ external routine must first use the FNC_Get_GLOP_Map library function to gain access to the GLOP set of which the external routine is a member.

The function returns a pointer to a structure that is an array of eight data references, the maximum number of GLOP mappings in a GLOP set.

The context in which a particular external routine runs determines the actual data that the external routine has access to.

For example, the following diagram illustrates the GLOP data available to an external routine that is invoked by user jsmith012 who has been granted a Finance role.


GLOP data made available to Finance role user

If the external routine is also invoked by user sgonzales003, who has been granted the Sales role, the GLOP data that is available can be illustrated like this:


GLOP data made available to Sales role user