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

sdq_set_parameter Function


This function is called, after the call to sdq_init_session, to set parameters that are applicable at the session context. 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. 

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

"Session", "Parameter Name", "Parameter Value"

These session parameters are set to the vendor, after each session opens with the vendor. Your can define user properties for the DeDuplication business service as follows:

Property: My Connector 1
Value: MyDQMatch

Property: MyDQMatch Parameter 2
Value: "Session", "zSessParam2", "zSessParam2Val"      

Syntax

int sdq_set_parameter (int session_id, const SSchar* parameterList)

Parameters
  • session_id: The session ID obtained while initializing the session.
 
  • parameterList: An XML character string that contains the list of parameters and values that are specific to this function call. An example of the XML is as follows:

    <Data>
    <Parameter>
    <Name>RECORD_TYPE</Name>
    <Value>Contact</Value>
    </Parameter>

 

<Parameter>
<Name>SessionParam1</Name>
<Value>SessionValue1</Value>
</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.