If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Problems with Load - SQLCODE 3107

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-28-11, 03:06
DB_N00b DB_N00b is offline
Registered User
 
Join Date: Jan 2010
Posts: 152
Problems with Load - SQLCODE 3107

Hello guys,

Today I made an export of a Schema, which was a set of 60 Tables.
Now i import them into my database and half of them get rejected with that error:


* LOAD: table "Schema"."Customers"
*** WARNING 3107. Check message file tab7.msg!
*** SQL Warning! SQLCODE is 3107
*** SQL3107W There is at least one warning message in the message file.
Reply With Quote
  #2 (permalink)  
Old 07-28-11, 03:08
DB_N00b DB_N00b is offline
Registered User
 
Join Date: Jan 2010
Posts: 152
Now when i check tab7.msg there are tons of errors like:

Quote:
SQL3550W The field value in row "F0-7839" and column "1" is not NULL, but the
target column has been defined as GENERATED ALWAYS.

SQL3185W The previous error occurred while processing data from row "F0-7839"
of the input file.

SQL3550W The field value in row "F0-7840" and column "1" is not NULL, but the
target column has been defined as GENERATED ALWAYS.

Reply With Quote
  #3 (permalink)  
Old 07-28-11, 03:08
DB_N00b DB_N00b is offline
Registered User
 
Join Date: Jan 2010
Posts: 152
What can I do here in best case? Thank you for your help in advance!
Reply With Quote
  #4 (permalink)  
Old 07-28-11, 03:31
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
have a look at messages and code
SQL3550W
..the generatedoverride file type modifier can be used to load explicit, non NULL values into a row..
to avoid a next question : the load syntax is :
LOAD
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #5 (permalink)  
Old 07-28-11, 04:43
DB_N00b DB_N00b is offline
Registered User
 
Join Date: Jan 2010
Posts: 152
Thank you!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On