Handling duplicate records during bulk c

admin

Administrator
Staff member
Hi

I am software engineer working on C (Solaris Environment)

I am converting a Gateway process module from DB Library to CT Library.

During Bulk copy if duplication of record occurs, then I handle it in msg handler trapping the error code 2601. Then I re-do bulk copy for whole set of records one by one which failed during previous bulk copy (During second bulk copy I dont handle the error 2601 so duplicate record is not entered. This logic works fine in DB Library.

But in Ct-Library when I apply the same logic, during the 2nd bulk copy (single record bulk_done) when trying to insert duplicate record the connection is dead and I cannot proceed further. Can you please help me how to solve this problem

Thanks
Madhu
 
Back
Top