Has anyone here successfully connected to DB2 on the mainframe using the os390 Java JDK rather than using DB2 Connect?

I have a client who wants to do this but I am having all sorts of problems. I suspect that they are caused by the driver (COM.ibm.db2os390.sqlj.jdbc.DB2SQLJDriver) not being compatible with systems other than os390.

The IBM documentation on this is poor to say the least.

When I run a sample jdbc app on the mainframe it connects however when I run the same app from a PC it errors with "No Suitable Driver" and has errors generated from the DB2SQLJDriver class. It appears to fail on the line :


Am I correct in believing that this line is system dependent?

I have tried the standard Db2 drivers (net and app) with no luck. Can anyone reccomend a solution?