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 > DB2 v8, load error from IXF

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-24-09, 10:00
petitof petitof is offline
Registered User
 
Join Date: Apr 2004
Posts: 54
DB2 v8, load error from IXF

Dear all,
I have a problem during data loading:
I have a table created with following instruction:

1) import from <table>.ixf of ixf ROWNUM 1 create into <table>;
2) delete from <table>
3) load from <table>.ixf of ixf insert into of ixf insert into <table>;

After third point I obtain follow messages from every row:
SQL0433N Value "stringstringstringstringstringstringstringstrings tringstring
" is too long. SQLSTATE=22001

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

I'll enlarge all datatype column, bufferpool, tablespace but I get same errors....have you idea????
Thank you in advance!
Fabio
Reply With Quote
  #2 (permalink)  
Old 11-24-09, 14:55
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
I would suspect that the source database was not in UNICODE, while the target was, which would cause character strings to exceed their original column widths.
Reply With Quote
  #3 (permalink)  
Old 11-25-09, 03:46
petitof petitof is offline
Registered User
 
Join Date: Apr 2004
Posts: 54
Hi Nick,
thank you for your reply.
In fact, my charset is 1252 (db2codepage) and I do not know what type is its (customer dump). May we know from the IXF file?

Thank you!
Fabio
Reply With Quote
  #4 (permalink)  
Old 11-25-09, 05:45
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
Examine your load output. When that is gone try loading using a msg file. There you will see the codespages and translations.
I agree with Nick. As soon as you get diacritical characters (ASCII value > 127) things get risky.
Reply With Quote
  #5 (permalink)  
Old 11-25-09, 06:02
petitof petitof is offline
Registered User
 
Join Date: Apr 2004
Posts: 54
In msg:


SQL0311N The length of string host variable number "2" is negative or greater
than the maximum. SQLSTATE=22501

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

SQL3148W A row from the input file was not inserted into the table. SQLCODE
"-311" was returned.

but unfortunately I don't see the source codespages, maybe if I can create an utf-8 database to try..
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