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 > ODBC connection for DB2 AS/400

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-22-04, 15:40
hong wang hong wang is offline
Registered User
 
Join Date: Nov 2004
Posts: 3
ODBC connection for DB2 AS/400

Hi,

I have installed a DB2 client on a window 2000 server and used client configuration assistant to set up an ODBC connection to DB2 AS/400. But when I run a query using the ODBC connection, I get an error, saying:'SQL0031C File "D:\SQLLIB\bnd\db2ajgrt.bnd" could not be opened.' Can anybody tell me why I get this error? what should I do to fix it?

Thanks.
Reply With Quote
  #2 (permalink)  
Old 11-23-04, 01:43
przytula przytula is offline
Registered User
 
Join Date: Nov 2004
Posts: 374
connect to as400

you could try manually bind the files
open command window - cd \sqllib\bnd
connect to target db and execute - db2 bind ddcs400.lst...
Best Regards, Guy Przytula
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