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 > How to move BLOB data from Sparc to Windows

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-22-05, 21:10
ggnanaraj ggnanaraj is offline
Registered User
 
Join Date: Aug 2002
Location: Chennai, India
Posts: 171
How to move BLOB data from Sparc to Windows

I have exported data from DB2 UDB V72 for movement into Windows. Unable to insert BLOB data into the table in Windows, from the export dump taken on Solaris. However, the same dump works fine on Solaris for BLOB insert/loading.

How to move BLOB data from Sparc to Windows?

TIA.
Reply With Quote
  #2 (permalink)  
Old 09-22-05, 21:49
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Did you export in IXF format?
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 09-23-05, 00:30
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by ggnanaraj
Unable to insert BLOB data into the table in Windows, from the export dump taken on Solaris.
And "unable" means what? Computer freezes? DB2 not installed? LOAD utility gives an error?

Did you use binary mode to transfer the files?
Reply With Quote
  #4 (permalink)  
Old 09-23-05, 09:45
ggnanaraj ggnanaraj is offline
Registered User
 
Join Date: Aug 2002
Location: Chennai, India
Posts: 171
Quote:
Originally Posted by Marcus_A
Did you export in IXF format?
No. I did a del export. The import of the same works in Sparc but not in Windows.
Reply With Quote
  #5 (permalink)  
Old 09-23-05, 09:47
ggnanaraj ggnanaraj is offline
Registered User
 
Join Date: Aug 2002
Location: Chennai, India
Posts: 171
Quote:
Originally Posted by n_i
And "unable" means what? Computer freezes? DB2 not installed? LOAD utility gives an error?

Did you use binary mode to transfer the files?
The import fails. Binary mode was used to transfer files. All other tables 'import' apart from BLOB works fine.

Get the following error: SQL3512W The file named in row "1" and column "37" cannot be found, but the target column is not nullable. The row was not loaded.

The import takes place without the 'lobs from' and 'modified by' clauses. However, only the LOB locator is loaded from the DEL file not the LOB data.
Reply With Quote
  #6 (permalink)  
Old 09-23-05, 10:09
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by ggnanaraj

The import takes place without the 'lobs from' and 'modified by' clauses. However, only the LOB locator is loaded from the DEL file not the LOB data.
LOB data is not in the DEL file. I suggest you read the IMPORT command reference again.
Reply With Quote
  #7 (permalink)  
Old 09-23-05, 22:02
ggnanaraj ggnanaraj is offline
Registered User
 
Join Date: Aug 2002
Location: Chennai, India
Posts: 171
Quote:
Originally Posted by n_i
LOB data is not in the DEL file. I suggest you read the IMPORT command reference again.
Of course, the LOB data is not in the DEL file. Note that, in the same SPARC platform the 'export' from 1 database and 'import' into another work fine.

However, when I move this data for 'import' into Windows, it fails with SQL3512W.
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