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 > Connect to OS/390 DB2 over JDBC

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-08-04, 05:33
svesch svesch is offline
Registered User
 
Join Date: Sep 2004
Posts: 1
Connect to OS/390 DB2 over JDBC

Hi guys,

I need your help.

I try to write a program, which connects to a DB2 (V6 - V8) system running on OS/390, or z/OS. The program should performed from a pc (windows, linux, etc.).
So I have some questions about this subject:

1. Which driver should I use
2. Where can I find a driver.
3. How to connect to the DB2 System. Which interface I have to use (DDF???).

It would be nice, if anyone can give me some hints, or a example how I have to realize this.

Thanks in advance,
Sven
Reply With Quote
  #2 (permalink)  
Old 09-08-04, 05:56
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
You need to license DB2 Connect to connect from LUW platforms ....
Drivers to connect to the mainframe is provided by the db2 connect product ...

HTH

Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 09-08-04, 06:50
magro magro is offline
Registered User
 
Join Date: Nov 2003
Posts: 5
JDBC-Drivers

Hi Sven!

I'm not a specialist with this, but I know the following:

With our software (where accessing DB2 for z/OS V7 and V8 via JDBC-driver is an option) our developers encountered lots of problems (performance, functionality) with the following driver

"driverClassName=COM.ibm.db2.jdbc.net.DB2Drive r"

The moment it was substituted by

"driverClassName=com.ibm.db2.jcc.DB2Driver"

things were smooth in comparison.

Don't know if that little bit helps, but I hope so.

M.

Last edited by magro; 09-08-04 at 07:08.
Reply With Quote
  #4 (permalink)  
Old 09-08-04, 10:03
crisscross crisscross is offline
Registered User
 
Join Date: Feb 2004
Posts: 25
You will also need DDF set up on the mainframe. If that is not already in place, you may want to let the mainframe folks get started on that. It is not trivial.
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