Detail View 2007

Datum

23.04.2007

 

Keywords

SQLJ application that uses the DB2 Universal JDBC Driver

up
davor
weiter

DB2 ist ein Produkt der
IBM Corporation. Bitte
Copyright-  und Trademark-Hinweise beachten!


http://www-306.ibm.com/software/data/db2/zos/downloads/osc.html
SQLJ application that uses the DB2 Universal JDBC Driver  Forum/discussion group

Abstract
This sample program shows how to write an SQLJ application using the DB2 Universal JDBC Driver and type 4 connectivity to access a DB2 database.


Content
This sample program shows how to write an SQLJ application using the DB2 Universal JDBC Driver and type 4 connectivity to access a DB2® database.
To run the example:
1. Download the App.sqlj
2. Edit App.sqlj as you are instructed in the comments:
- Update the value of the url variable to specify the server, port, and database for your DB2 server.
3. Translate, compile, customize, and run App.sqlj using the sqlj and db2sqljcustomize utilities and the java command.


Example submitted by:
IBM® Redbook: DB2 for OS/390® and z/OS® Powering the World's e-business Solutions (SG24-5945-00)

Rate this example


Notice: This example is from the DB2® Examples Trading Post and is provided on an "as-is" basis. You may copy and modify this example in any form without payment to IBM, for the purposes of designing and developing application programs conforming to the application programming interface for the z/OS or OS/390® operating system for which these examples are written. This example has been tested, but it has not been thoroughly tested under all conditions. IBM, therefore, cannot guarantee or imply reliability, serviceability, or function of this example in your particular environment. Use this example as a model for your own situations



P.S. Please pass my address to anyone interested in DB2 HOTLINE - thank you.

With kind regards
Michael Dewert, Software Group
DB2 Development
DB2 Information Management Software

© Gernot Ruban