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 > fail to import lob in DB2

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-03-03, 02:55
lina37 lina37 is offline
Registered User
 
Join Date: Nov 2003
Location: singapore
Posts: 7
Question fail to import lob in DB2

Hi

IMPORT FROM D:\Deployment\28112003\DB\ecm_template.IXF of ixf lobs from D:\Deployment\28112003\DB\lobpath modified by lobsinfile insert_update into ECM_TEMPLATE


I have run the above in 8.1.3 WSE(WIN2K) and 7.2.7 EE(WIN2K) without facing error but when running from 7.2.7 admin client(WIN2K) and 8.1.3 WSE(AIX), I'm encountering the following

SQL3040N Unable to use the lobpath/lobfile parameters as
specified. Reason code: "1".

From DB2 message documentaion
=======================
Explanation :

The utility is unable to use the lobpath or lobfile parameters as
specified for the reason given by "<reason-code>". The codes are
listed below.

User Response:

Given for each reason code:


1 The lobpath is not a valid sqlu_media_list or the values
provided are not valid. The media_type must be SQLU_LOCAL_MEDIA
and all pathnames must be terminated with a valid path
separator.
....

I have tried
1. changing the path, changing '/' etc related to the lobpath
2. tried export first before importing
3. run in the actual db server for the AIX machine

but the error is still the same. Any assistance greatly appreciated.
Reply With Quote
  #2 (permalink)  
Old 12-03-03, 03:07
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
I would use the Control Center to generate the import command syntax and do a Show Command (without submitting) to see what syntax they generate.
__________________
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 12-03-03, 03:17
lina37 lina37 is offline
Registered User
 
Join Date: Nov 2003
Location: singapore
Posts: 7
Quote:
Originally posted by Marcus_A
I would use the Control Center to generate the import command syntax and do a Show Command (without submitting) to see what syntax they generate.
the command is indeed derived from the control center... any other tips?
Reply With Quote
  #4 (permalink)  
Old 12-03-03, 03:20
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Try putting the path in quotes as in:

IMPORT FROM “D:\Deployment\28112003\DB\ecm_template.IXF” of ixf lobs from “D:\Deployment\28112003\DB\lobpath” modified by lobsinfile insert_update into ECM_TEMPLATE
__________________
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
  #5 (permalink)  
Old 12-03-03, 04:03
lina37 lina37 is offline
Registered User
 
Join Date: Nov 2003
Location: singapore
Posts: 7
Quote:
Originally posted by Marcus_A
Try putting the path in quotes as in:

IMPORT FROM “D:\Deployment\28112003\DB\ecm_template.IXF” of ixf lobs from “D:\Deployment\28112003\DB\lobpath” modified by lobsinfile insert_update into ECM_TEMPLATE
hi marcus

tks for d prompt response. Still no luck. still same error.
Reply With Quote
  #6 (permalink)  
Old 01-21-04, 15:38
rfitzgerald rfitzgerald is offline
Registered User
 
Join Date: Jan 2004
Posts: 2
I had the same problem. Try using a '\' after lobpath in your lobs from option. I am assuming the lob file is in the \lobpath directory.
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