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 > Import failing

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-08-11, 10:56
itsonlyme44 itsonlyme44 is offline
Registered User
 
Join Date: Dec 2007
Posts: 261
Import failing

Running the following command from a DB2 V9 client on a laptop - connecting to a DB2 V8 (on windows) database:

db2 export to c:\exports\TPOL.cpy of del modified by chardel; messages msgs.txt SELECT * FROM TPOL WHERE CO_ID = '01' AND POL_ID = 'AS20985D' this export works fine and exports 1 row.

the problem is when I attempt to import:

db2 import from c:\exports\tpol.cpy of del modified by chardel; messages msgs.txt INSERT INTO TPOL

get this generic error: SQL3015N An SQL error "" occurred during processing.

The user claims that this has worked in the past but stopped working when we upgraded the DB2 client on his laptop from V7 to V9
Reply With Quote
  #2 (permalink)  
Old 06-08-11, 11:06
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Try rebinding utilities and CLI packages (from the client).
Reply With Quote
  #3 (permalink)  
Old 06-08-11, 11:20
itsonlyme44 itsonlyme44 is offline
Registered User
 
Join Date: Dec 2007
Posts: 261
I think this is what you were talking about..

C:\Program Files\IBM\SQLLIB\bnd>DB2 bind @db2ubind.lst messages bind.msg grant public

SQL0001N Binding or precompilation did not complete successfully.
SQLSTATE=00000
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