Environment variables for the z/OS Application Connectivity to Db2 for z/OS feature

You need to set environment variables so that the operating system can locate the z/OS Application Connectivity to Db2 for z/OS feature.

The environment variables that you must set are:
PATH
Modify PATH to include the directory that contains the shell scripts that invoke IBM® Data Server Driver for JDBC and SQLJ program preparation and debugging functions. If z/OS Application Connectivity to Db2 for z/OS is installed in /usr/lpp/jcct4v3, modify PATH as follows:
export PATH=/usr/lpp/jcct4v3/bin:$PATH
CLASSPATH
z/OS Application Connectivity to Db2 for z/OS contains the following class files:
db2jcc4.jar
Include db2jcc4.jar in the CLASSPATH to indicate that you are using the version of the IBM Data Server Driver for JDBC and SQLJ that includes JDBC 4.0 or later functions, and JDBC 3.0 or earlier functions.
sqlj4.zip
Include sqlj4.zip in the CLASSPATH to indicate that you plan to prepare SQLJ applications that include JDBC 4.0 or later functions, and JDBC 3.0 or earlier functions.
db2jcc_license_cisuz.jar
A license file that permits access to Db2 for z/OS servers.
Modify your CLASSPATH to include these files. If z/OS Application Connectivity to Db2 for z/OS is installed in /usr/lpp/jcct4v3, modify CLASSPATH as follows:
export CLASSPATH=/usr/lpp/jcct4v3/classes/db2jcc4.jar:\
/usr/lpp/jcct4v3/classes/db2jcc_javax.jar:\
/usr/lpp/jcct4v3/classes/sqlj4.zip:\
/usr/lpp/jcct4v3/classes/db2jcc_license_cisuz.jar:\
$CLASSPATH