Bookshelf Home | Contents | Index | PDF |
Siebel Data Quality Administration Guide > Universal Connector API > Batch Mode Data Matching Functions > sdq_get_duplicates FunctionThis function is called to get the master record with the list of its duplicate records along with their match scores. This is done in batch mode. The number of records received per call to this function is set in the BATCH_MATCH_MAX_NUM_OF_RECORDS session parameter before the function is called. Syntaxint sdq_get_duplicates (int session_id, char* xmlResultSet) Parameters
Return ValueA return value of 0 indicates successful execution, while a return value of 1 indicates that there are no duplicate records left. 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. NOTE: Siebel Data Quality code only processes the returned XML character string while the return value is 0. Even if there are fewer records to return than the value of the BATCH_MATCH_MAX_NUM_OF_RECORDS parameter, the vendor driver sends a return value of 0 and then return a value of 1 in the next call. |
Siebel Data Quality Administration Guide | Copyright © 2006, Oracle. All rights reserved. | |