Real-Time Data Cleansing Algorithm
The algorithm is as follows:
- Load the vendor library. 
- Call sdq_init_connector. 
- Call sdq_set_global_parameter. 
- Call sdq_init_session. 
- Call sdq_set_parameter (RECORD_TYPE – Account/Business Address/Contact/List Mgmt Prospective Contact). 
- Query the Siebel database to get the Driver Record. 
- Call sdq_datacleanse. This function sends the driver record as XML and the output from the function will have the cleansed driver record. 
- Save the record into the Siebel repository. 
- Call sdq_close_session while logging out of current session 
- Call sdq_close_connector.