skip to main content
Configuring an OpenAccess SDK IP for a Third-Party SQL Engine : Configuration Parameters : Configuring an IP Written in C/C++ for a Third-Party SQL Engine
 

Configuring an IP Written in C/C++ for a Third-Party SQL Engine

You must configure the following Service and Data Source attributes to load your IP code and to make it available when a connection is received by the OpenAccess SDK Server or the OpenAccess SDK Local Server.
*ServiceIPModule: the name of the DLL or shared library created for the IP (for example, yourip.dll). The file is loaded by the OpenAccess SDK Server (or the Local Server) when a connection is made to this service.
*DataSourceLogonMethod: if you want your IP to authenticate based on user name and password passed in from the client, then you set this data source attribute to DBMSLogon(UID,PWD); otherwise, leave it set to Anonymous.
See Using the OpenAccess SDK Management Console for information about how to configure a new data source or to set up a new OpenAccess SDK service for your IP based on the provided C/C++ template. Initially, you should use the existing OpenAccessSDK810_C_SQL service and add a data source for configuring your IP. Assuming you call this data source yourip, the OpenAccess SDK Client references the yourip data source entry within the OpenAccessSDK810_C_SQL service.
Note: If the value of the ServiceIPModule changes, or if the shared library in the ServiceIPModule changes, you must stop and restart the service for configuration changes to take effect.