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 > Can I connect a DB2 database with JDBC?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-03-06, 05:23
mmmike6 mmmike6 is offline
Registered User
 
Join Date: Mar 2006
Posts: 3
Can I connect a DB2 database with JDBC?

I'd like to know why I Have this problem.

My Server is a CICS with a DB2 IBM OS /390
I know the IP, PORt .... and I use JDBC Universal for DB2 type 4.

Class.forName("com.ibm.db2.jcc.DB2Driver");
Url = "jdbc:db2://IP:PORT/BDNAME";

DriverManager.getConnection.... (url, user, pass)..

If I execute this, I have next problem

SQL state = null
Error code = -4499
There is no available conversion for the source code page, 1208, to the target code page, "". DB2ConnectionCorrelator: null

Why is this?

Thankss!!!
Reply With Quote
  #2 (permalink)  
Old 03-03-06, 09:20
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Try installing the IBM JVM.
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