Installation of the IBM Data Server Driver for JDBC and
SQLJ on
your Db2 subsystem allows you
to build and run Java database
applications.
Before you begin
Prerequisites for the IBM Data Server Driver for JDBC and
SQLJ:
- An SDK for Java
To
find the minimum required Java Software Development kit (SDK)
version for Db2 13, see Program directories for Db2 13.
The IBM Data Server Driver for JDBC and
SQLJ supports 31-bit
or 64-bit Java
applications.
- TCP/IP
TCP/IP is required on the client and all database servers
to which you connect.
- Db2 for z/OS® distributed
data facility (DDF) and TCP/IP support.
- Unicode support for OS/390® and z/OS servers.
Procedure
To install the IBM Data Server Driver for JDBC and
SQLJ,
follow these steps:
- When you allocate and load the Db2 for z/OS libraries, include the steps that allocate and load the IBM Data Server Driver for JDBC and
SQLJ libraries.
- On Db2 for z/OS, set subsystem parameter DESCSTAT
to YES. DESCSTAT corresponds to installation field DESCRIBE FOR STATIC on panel DSNTIPF. This step
is necessary for SQLJ support.
- In z/OS
UNIX System Services, edit your .profile file to
customize the environment variable settings. You use this step to set the libraries, paths, and
files that the IBM Data Server Driver for JDBC and
SQLJ uses.
- Optional: Customize the IBM Data Server Driver for JDBC and
SQLJ configuration properties.
- On Db2 for z/OS, enable the Db2 supplied stored procedures and define the
tables that are used by the IBM Data Server Driver for JDBC and
SQLJ.
- In z/OS
UNIX System Services, run the DB2Binder utility to
bind the packages for the IBM Data Server Driver for JDBC and
SQLJ.
- Verify the installation by running a simple JDBC application.