I'm attempting to load a table from a comma delimited file using the following statement:
Unfortionately, cm_claim_master.log is filling up with thousands warning messages that I don't care about:
I want db2 to truncate my string fields if they are too large, but I don't want to see 100,000 warnings in my log file. I tried using "warningcount 50" but then the load stops after the 1st 50 warnings. Is there anyway to tell the load statement to only log errors, not warnings?
Code:
load from c:\cm_claim_master.txt of del
messages c:\cm_claim_master.log
replace into geniusdata.cm_claim_master;
Unfortionately, cm_claim_master.log is filling up with thousands warning messages that I don't care about:
SQL3125W The character data in row "1" and column "13" was truncated because
the data is longer than the target database column.
I want db2 to truncate my string fields if they are too large, but I don't want to see 100,000 warnings in my log file. I tried using "warningcount 50" but then the load stops after the 1st 50 warnings. Is there anyway to tell the load statement to only log errors, not warnings?