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.

Before making the call to the vendor DLL, the Siebel code reads the parameters and values from the configuration file that is read upon server or remote client startup. Putting parameters here enables customers to set and modify connector and server-instance specific parameters.

Syntax

int sdq_set_parameter (int session_id, const SSchar* parameterList)

Parameters

Parameter
Description

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>SessionParam1</Name>

<Value>SessionValue1</Value>

</Parameter>

<Parameter>

<Name>SessionParam2</Name>

<Value>SessionValue2</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 © 2006, Oracle. All rights reserved.