× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I found it, imported it, changed the driver-registration and
connection-creation, runned the class... It doesn't work.  I get an
error while executing the:
Class.forName("com.ibm.db2.jdbc.app.DB2Driver");   statement.

This is what I did:
1) I included the jar-file in classpath of VAJAVA,
2) imported jar-file in VAJAVA
3) changed code
         Class.forName("com.ibm.db2.jdbc.app.DB2Driver");
           ...jdbc:db2:sysname...  Iso   ... jdbc:as400:sysname...

Is this really all to do?
I have no db2 installed on my PC
I have no odbc-connection created on my PC
...

Patrick Goovaerts
pgoovaerts@pandora.be
TEL: 0032-3-6472715
GSM:0498610325



-----Oorspronkelijk bericht-----
Van: java400-l-admin@midrange.com [mailto:java400-l-admin@midrange.com]
Namens Bruce Jin
Verzonden: vrijdag 19 april 2002 16:56
Aan: java400-l@midrange.com
Onderwerp: Re: DB2 / Toolbox driver in VAJAVA


> 1) Where can I find them on our AS400 ?
        the native driver is in
/qibm/proddata/os400/java400/ext/db2_classes.jar (v5r1)

> 2) Can I import it in VAJAVA?
        Yes

> 3) Why should I choose DB2 driver?
        Why should you?

Bruce

----- Original Message -----
From: <P.Goovaerts@Clipper.Be>
To: <java400-l@midrange.com>
Sent: Friday, April 19, 2002 1:04 AM
Subject: DB2 / Toolbox driver in VAJAVA


> This is a multipart message in MIME format.
> --
> [ Picked text/plain from multipart/alternative ]
> Since we are having problems with SQL calls (Error -601 SQLSTATE
> HY001) I would like to try the IBM DB2 driver iso the ToolBox Driver.

> According to the installation instructions, the db2-driver should be
> available on the AS400.
> 1) Where can I find them on our AS400 ?
> 2) Can I import it in VAJAVA?
> 3) Why should I choose DB2 driver?
>
>
> Patrick Goovaerts
> ICT/Clipper Support nv _______________________________________________
> This is the Java Programming on and around the iSeries / AS400
(JAVA400-L)
mailing list
> To post a message email: JAVA400-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l
> or email: JAVA400-L-request@midrange.com
> Before posting, please take a moment to review the archives at
> http://archive.midrange.com/java400-l.
>
>
_______________________________________________
This is the Java Programming on and around the iSeries / AS400
(JAVA400-L) mailing list To post a message email: JAVA400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l
or email: JAVA400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.