sdq_dedup_realtime_nomemory Function

This function is called to perform real-time data matching when match candidate acquisition takes place in Oracle Data Quality Matching Server.

Item Description
Syntax
int sdq_dedup_realtime_nomemory (int session_id, SSchar* parameterList, 
SSchar* inputRecordSet, SSchar* outputRecordSet)
Parameters

session_id: The session ID obtained by initializing the session.

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

<Data>
 <Parameter>
    <Name>RealTimeDedupParam1</Name>
    <Value>RealTimeDedupValue1</Value>
 </Parameter>

 <Parameter>
    <Name>RealTimeDedupParam2</Name>
    <Value>RealTimeDedupValue2</Value>
 </Parameter>
</Data>
Note: The parameterList parameter is set to NULL as all required parameters are already set at the session level.

inputRecordSet: An XML character string containing the driver record. An XML example follows:

<Data>
 <DriverRecord>
    <DUNSNumber>123456789</DUNSNumber>
    <Name>Siebel</Name>
    <<RowId>1-X40</RowId>
 </DriverRecord>
</Data>

outputRecordSet: An XML character string populated by the vendor in real time that contains the duplicate records with the scores. An XML example follows:

<Data>
 <DuplicateRecord>
    <Account.Id>SAME ID AS DRIVER </Account.Id> 
    <DQ.MatchScore></DQ.MatchScore> 
 </DuplicateRecord>

 <DuplicateRecord>
    <Account.Id>1-Y28</Account.Id>
    <DQ.MatchScore>92</DQ.MatchScore>
 </DuplicateRecord>

 <DuplicateRecord>
    <Account.Id>1-3-P</Account.Id>
    <DQ.MatchScore>88</DQ.MatchScore>
 </DuplicateRecord>
</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.