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 > Cannot run import command

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-08-08, 07:34
itsonlyme44 itsonlyme44 is offline
Registered User
 
Join Date: Dec 2007
Posts: 261
Cannot run import command

we have a datamart (UDB V9.1 fix pack 1) and one of the ETL programmers is trying to run this command "IMPORT FROM NUL OF DEL REPLACE INTO schema.table" from the data integrator tool and is getting this error:

Function call <sql ( DS_Policy_Data_Mart, IMPORT FROM NUL OF DEL REPLACE INTO KCDWHUAT.TXTAB ) > failed, due to error <70401>:
<ODBC data source error message for operation <SQLNumResultCols>: <[IBM][CLI Driver] CLI0125E Function sequence error. SQLSTATE=S1010>

He says it is a DB2 problem but the command works from DB2 Control Center but not from BODI (the data integrator tool) - has anyone ever seen this before?
Reply With Quote
  #2 (permalink)  
Old 09-08-08, 09:59
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
I suspect that you cannot really run an IMPORT command via ODBC, since it is not an SQL statement.
Reply With Quote
  #3 (permalink)  
Old 09-08-08, 10:17
itsonlyme44 itsonlyme44 is offline
Registered User
 
Join Date: Dec 2007
Posts: 261
hmmmm that makes sense. then toad and DB2 Control Center must not be using ODBC???
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