I wish to make connection to AS/400 DB2 from a NT System.
//Connection con = DriverManager.getConnection("jdbc:db2://(ipaddress or hostname):6789/databasename","userid","password");
i am using db2java.zip which is taken after installation of DB2 UDB on
Originally posted by caf78
Have you run the Client Configuration Assistant on the NT system?
You need to install the client-side first.
JDBC(TM) is an application programming interface (API) included in the Java platform that enables Java programs to connect to a wide range of databases.
The IBM Toolbox for Java JDBC driver allows you to use JDBC API interfaces to issue structured query language (SQL) statements to and process results from databases on the server. You can also use IBM Developer Kit for Java JDBC driver, called the 'native' JDBC driver:
Use the Toolbox JDBC driver when the Java program is on one system and the database files are on another system, as in a client/server environment
Use the native JDBC driver when both the Java program and database files are on the same iSeries system
For information about ongoing improvements, see What's new for Modification 5 and Enhancements to Toolbox for Java JDBC support.
I am unable to create db2 connection. But using JTOpen i am able to get as400 connection.