[CLOSED] BULKLOAD: Error found in the bulkload log file
Hello Gurus, We have a simple DM flow using BCP Extended bulk loader for SQL Server which works fine in DEV but, fails in prod, only difference is the amount of data. Can someone help how to investigate this issue?
Commit forced at: 9000000 for 1000000 row(s)
Commit forced at: 9000949 for 949 row(s)
BULKLOAD: Error found in the bulkload log file
SQLState = S1000, NativeError = 0
Error = [Microsoft][ODBC Driver 13 for SQL Server]Unable to open BCP host data-f
ile
I searched the techsupport site for "Unable to open BCP host data-file" and got quite a few hits. Please look at those posts as they may have the answer to your problem. It wasn't just one answer that solved these cases. One of they said "Once we got the bulk load logs, we determined that the job was causing a primary key violation because the job was trying to insert a duplicate key value into the db."
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator WebFOCUS 7x and 8x, Windows, Linux All output Formats
September 25, 2019, 11:03 AM
vaayu
Thank you Chuck, It is odd, I did not find any hits with the same search on tech site. Would you mind sharing the direct links here please?