Siebel Data Quality Administration Guide > Universal Connector API > Parameter Setting Functions >

sdq_set_global_parameter Function


This function is called to set global parameters. The function call is made after the call to sdq_init_connector. The vendor must put the configuration file, if using one, in .\siebsrvr\SDQConnectorpath. When the vendor DLL is loaded, it calls the sdq_init_connector API function (if it is exposed by the vendor) with the absolute path to the SDQConnector directory. It is then up to the vendor to read the appropriate configuration file. The configuration file name is dependent on vendor specifications. 

An XML character string is used to specify the parameters. This provides an extensible way of providing parameters with each function call.

Using the sdq_set_global_parameter API, any global parameters specific to the vendor can be put as a user property to DeDuplication business service, where the format of the business service user property is as follows:

"Global", "Parameter Name", "Parameter Value"

These global parameters are set to the vendor only after the vendor DLL loads. You can define user properties for the DeDuplication business service as follows:

Property: My Connector 1
Value: MyDQMatch

Property: MyDQMatch Parameter 1
Value: "Global", "zGlobalParam1", "zGlobalParam1Val"

NOTE:  This parameter is set to NULL as all required parameters are set by the sdq_set_parameter function call. 

Syntax

int sdq_set_global_parameter (const SSchar* parameterList)

Parameters

parameterList: An XML character string that contains the list of parameters and values specific to this function call. An example of the XML is as follows:

<Data>
<Parameter>
<GlobalParam1>GlobalParam1Val</GlobalParam1>
</Parameter>
</Data>

Return Value

A return value of 0 indicates successful execution. Any other value is a vendor error code. The error message details from the vendor are obtained by calling the sdq_get_error_message function.

Siebel Data Quality Administration Guide Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices.