IBM Support

Weekly Tips from DB2 Experts: Demo of IBM Data Server Driver Installation in a Unix environment

Technical Blog Post


Abstract

Weekly Tips from DB2 Experts: Demo of IBM Data Server Driver Installation in a Unix environment

Body

Hello!
Many have been utilizing the light weight deployment solution i.e. IBM Data Server Driver Package that provides run-time support for applications without the need to install Run-time Client/Data Server Client. We already have DS Driver install demos for Windows out there, but not for Unix platforms, So, I would like to take this opportunity to share a demo of IBM Data Server Driver install in a Unix environment. The documentation is in our Knowledge Center: http://www-01.ibm.com/support/knowledgecenter/SSEPGG_10.5.0/com.ibm.swg.im.dbclient.install.doc/doc/t0054799.html?lang=en
 
This specific scenario of V10.5 FP4 DS driver in Linux environment. 
 
Pre-requisites: 
Download the DSdriver image from /support/pages/node/318421 for  Linux 64-bit, x86-64 on AMD64 and Intel EM64T

 

Install steps:
 
[root@ts-maryk mary]# ls
 
dsdriver  isus  log  mary  v10.5fp4_linuxx64_dsdriver.tar
[root@ts-maryk mary]# rm -rf dsdriver
[root@ts-maryk mary]# ls
  isus  log  mary  v10.5fp4_linuxx64_dsdriver.tar
[root@ts-maryk mary]# tar -xvf v10.5fp4_linuxx64_dsdriver.tar
dsdriver/
dsdriver/license/
dsdriver/license/ko_KR.eucKR/
dsdriver/license/ko_KR.eucKR/odbc_LI_ko
dsdriver/license/ko_KR.eucKR/jdbc_LI_ko
dsdriver/license/ko_KR.eucKR/jdbc4_LI_ko
dsdriver/license/ko_KR.eucKR/dsdriver_LI_ko
dsdriver/license/dsdriver_notices.txt
dsdriver/license/en_US.iso88591/
dsdriver/license/en_US.iso88591/odbc_LI_en
dsdriver/license/en_US.iso88591/dsdriver_LI_en
dsdriver/license/en_US.iso88591/jdbc_LI_en
dsdriver/license/en_US.iso88591/jdbc4_LI_en
dsdriver/license/ko_KR.utf8/
dsdriver/license/ko_KR.utf8/odbc_LI_ko
dsdriver/license/ko_KR.utf8/dsdriver_LI_ko
dsdriver/license/ko_KR.utf8/jdbc_LI_ko
dsdriver/license/ko_KR.utf8/jdbc4_LI_ko
dsdriver/license/el_GR.utf8/
dsdriver/license/el_GR.utf8/odbc_LI_el
dsdriver/license/el_GR.utf8/jdbc_LI_el
dsdriver/license/el_GR.utf8/jdbc4_LI_el
dsdriver/license/el_GR.utf8/dsdriver_LI_el
dsdriver/license/de_DE.iso88591/
dsdriver/license/de_DE.iso88591/jdbc_LI_de
dsdriver/license/de_DE.iso88591/odbc_LI_de
dsdriver/license/de_DE.iso88591/dsdriver_LI_de
dsdriver/license/de_DE.iso88591/jdbc4_LI_de
dsdriver/license/zh_TW.eucTW/
dsdriver/license/zh_TW.eucTW/dsdriver_LI_zh_TW
dsdriver/license/zh_TW.eucTW/jdbc4_LI_zh_TW
dsdriver/license/zh_TW.eucTW/jdbc_LI_zh_TW
dsdriver/license/zh_TW.eucTW/odbc_LI_zh_TW
dsdriver/license/es_ES.utf8/
dsdriver/license/es_ES.utf8/jdbc4_LI_es
dsdriver/license/es_ES.utf8/dsdriver_LI_es
dsdriver/license/es_ES.utf8/odbc_LI_es
dsdriver/license/es_ES.utf8/jdbc_LI_es
dsdriver/license/fr_FR.utf8/
dsdriver/license/fr_FR.utf8/odbc_LI_fr
dsdriver/license/fr_FR.utf8/dsdriver_LI_fr
dsdriver/license/fr_FR.utf8/jdbc_LI_fr
dsdriver/license/fr_FR.utf8/jdbc4_LI_fr
dsdriver/license/ru_RU.utf8/
dsdriver/license/ru_RU.utf8/dsdriver_LI_ru
dsdriver/license/ru_RU.utf8/odbc_LI_ru
dsdriver/license/ru_RU.utf8/jdbc4_LI_ru
dsdriver/license/ru_RU.utf8/jdbc_LI_ru
dsdriver/license/ru_RU.koi8r/
dsdriver/license/ru_RU.koi8r/odbc_LI_ru
dsdriver/license/ru_RU.koi8r/jdbc4_LI_ru
dsdriver/license/ru_RU.koi8r/dsdriver_LI_ru
dsdriver/license/ru_RU.koi8r/jdbc_LI_ru
dsdriver/license/ru_RU.iso88595/
dsdriver/license/ru_RU.iso88595/odbc_LI_ru
dsdriver/license/ru_RU.iso88595/jdbc_LI_ru
dsdriver/license/ru_RU.iso88595/jdbc4_LI_ru
dsdriver/license/ru_RU.iso88595/dsdriver_LI_ru
dsdriver/license/ja_JP.sjis/
dsdriver/license/ja_JP.sjis/odbc_LI_ja
dsdriver/license/ja_JP.sjis/jdbc_LI_ja
dsdriver/license/ja_JP.sjis/jdbc4_LI_ja
dsdriver/license/ja_JP.sjis/dsdriver_LI_ja
dsdriver/license/es_ES.iso88591/
dsdriver/license/es_ES.iso88591/odbc_LI_es
dsdriver/license/es_ES.iso88591/jdbc_LI_es
dsdriver/license/es_ES.iso88591/dsdriver_LI_es
dsdriver/license/es_ES.iso88591/jdbc4_LI_es
dsdriver/license/el_GR.iso88597/
dsdriver/license/el_GR.iso88597/jdbc4_LI_el
dsdriver/license/el_GR.iso88597/dsdriver_LI_el
dsdriver/license/el_GR.iso88597/odbc_LI_el
dsdriver/license/el_GR.iso88597/jdbc_LI_el
dsdriver/license/tr_TR.utf8/
dsdriver/license/tr_TR.utf8/jdbc_LI_tr
dsdriver/license/tr_TR.utf8/odbc_LI_tr
dsdriver/license/tr_TR.utf8/jdbc4_LI_tr
dsdriver/license/tr_TR.utf8/dsdriver_LI_tr
dsdriver/license/pt_BR.utf8/
dsdriver/license/pt_BR.utf8/jdbc4_LI_pt
dsdriver/license/pt_BR.utf8/jdbc_LI_pt
dsdriver/license/pt_BR.utf8/dsdriver_LI_pt
dsdriver/license/pt_BR.utf8/odbc_LI_pt
dsdriver/license/pt_BR.iso88591/
dsdriver/license/pt_BR.iso88591/dsdriver_LI_pt
dsdriver/license/pt_BR.iso88591/jdbc_LI_pt
dsdriver/license/pt_BR.iso88591/odbc_LI_pt
dsdriver/license/pt_BR.iso88591/jdbc4_LI_pt
dsdriver/license/sl_SI.iso88592/
dsdriver/license/sl_SI.iso88592/dsdriver_LI_sl
dsdriver/license/sl_SI.iso88592/odbc_LI_sl
dsdriver/license/sl_SI.iso88592/jdbc_LI_sl
dsdriver/license/sl_SI.iso88592/jdbc4_LI_sl
dsdriver/license/lt_LT.iso885913/
dsdriver/license/lt_LT.iso885913/jdbc4_LI_lt
dsdriver/license/lt_LT.iso885913/dsdriver_LI_lt
dsdriver/license/lt_LT.iso885913/jdbc_LI_lt
dsdriver/license/lt_LT.iso885913/odbc_LI_lt
dsdriver/license/cs_CZ.utf8/
dsdriver/license/cs_CZ.utf8/jdbc_LI_cs
dsdriver/license/cs_CZ.utf8/dsdriver_LI_cs
dsdriver/license/cs_CZ.utf8/jdbc4_LI_cs
dsdriver/license/cs_CZ.utf8/odbc_LI_cs
dsdriver/license/lt_LT.utf8/
dsdriver/license/lt_LT.utf8/odbc_LI_lt
dsdriver/license/lt_LT.utf8/dsdriver_LI_lt
dsdriver/license/lt_LT.utf8/jdbc_LI_lt
dsdriver/license/lt_LT.utf8/jdbc4_LI_lt
dsdriver/license/pl_PL.iso88592/
dsdriver/license/pl_PL.iso88592/dsdriver_LI_pl
dsdriver/license/pl_PL.iso88592/jdbc4_LI_pl
dsdriver/license/pl_PL.iso88592/jdbc_LI_pl
dsdriver/license/pl_PL.iso88592/odbc_LI_pl
dsdriver/license/de_DE.utf8/
dsdriver/license/de_DE.utf8/jdbc4_LI_de
dsdriver/license/de_DE.utf8/odbc_LI_de
dsdriver/license/de_DE.utf8/dsdriver_LI_de
dsdriver/license/de_DE.utf8/jdbc_LI_de
dsdriver/license/cs_CZ.iso88592/
dsdriver/license/cs_CZ.iso88592/dsdriver_LI_cs
dsdriver/license/cs_CZ.iso88592/jdbc4_LI_cs
dsdriver/license/cs_CZ.iso88592/odbc_LI_cs
dsdriver/license/cs_CZ.iso88592/jdbc_LI_cs
dsdriver/license/ja_JP.eucJP/
dsdriver/license/ja_JP.eucJP/jdbc_LI_ja
dsdriver/license/ja_JP.eucJP/odbc_LI_ja
dsdriver/license/ja_JP.eucJP/dsdriver_LI_ja
dsdriver/license/ja_JP.eucJP/jdbc4_LI_ja
dsdriver/license/sl_SI.utf8/
dsdriver/license/sl_SI.utf8/jdbc_LI_sl
dsdriver/license/sl_SI.utf8/dsdriver_LI_sl
dsdriver/license/sl_SI.utf8/jdbc4_LI_sl
dsdriver/license/sl_SI.utf8/odbc_LI_sl
dsdriver/license/zh_TW.big5/
dsdriver/license/zh_TW.big5/jdbc_LI_zh_TW
dsdriver/license/zh_TW.big5/jdbc4_LI_zh_TW
dsdriver/license/zh_TW.big5/odbc_LI_zh_TW
dsdriver/license/zh_TW.big5/dsdriver_LI_zh_TW
dsdriver/license/zh_CN.gbk/
dsdriver/license/zh_CN.gbk/dsdriver_LI_zh
dsdriver/license/zh_CN.gbk/odbc_LI_zh
dsdriver/license/zh_CN.gbk/jdbc_LI_zh
dsdriver/license/zh_CN.gbk/jdbc4_LI_zh
dsdriver/license/id_ID.utf8/
dsdriver/license/id_ID.utf8/jdbc4_LI_in
dsdriver/license/id_ID.utf8/dsdriver_LI_in
dsdriver/license/id_ID.utf8/odbc_LI_in
dsdriver/license/id_ID.utf8/jdbc_LI_in
dsdriver/license/it_IT.utf8/
dsdriver/license/it_IT.utf8/jdbc_LI_it
dsdriver/license/it_IT.utf8/dsdriver_LI_it
dsdriver/license/it_IT.utf8/jdbc4_LI_it
dsdriver/license/it_IT.utf8/odbc_LI_it
dsdriver/license/tr_TR.iso88599/
dsdriver/license/tr_TR.iso88599/jdbc_LI_tr
dsdriver/license/tr_TR.iso88599/jdbc4_LI_tr
dsdriver/license/tr_TR.iso88599/odbc_LI_tr
dsdriver/license/tr_TR.iso88599/dsdriver_LI_tr
dsdriver/license/ja_JP.utf8/
dsdriver/license/ja_JP.utf8/dsdriver_LI_ja
dsdriver/license/ja_JP.utf8/jdbc_LI_ja
dsdriver/license/ja_JP.utf8/odbc_LI_ja
dsdriver/license/ja_JP.utf8/jdbc4_LI_ja
dsdriver/license/zh_CN.utf8/
dsdriver/license/zh_CN.utf8/dsdriver_LI_zh
dsdriver/license/zh_CN.utf8/odbc_LI_zh
dsdriver/license/zh_CN.utf8/jdbc_LI_zh
dsdriver/license/zh_CN.utf8/jdbc4_LI_zh
dsdriver/license/zh_TW.utf8/
dsdriver/license/zh_TW.utf8/jdbc_LI_zh_TW
dsdriver/license/zh_TW.utf8/dsdriver_LI_zh_TW
dsdriver/license/zh_TW.utf8/odbc_LI_zh_TW
dsdriver/license/zh_TW.utf8/jdbc4_LI_zh_TW
dsdriver/license/zh_CN.eucCN/
dsdriver/license/zh_CN.eucCN/jdbc4_LI_zh
dsdriver/license/zh_CN.eucCN/jdbc_LI_zh
dsdriver/license/zh_CN.eucCN/dsdriver_LI_zh
dsdriver/license/zh_CN.eucCN/odbc_LI_zh
dsdriver/license/pl_PL.utf8/
dsdriver/license/pl_PL.utf8/jdbc_LI_pl
dsdriver/license/pl_PL.utf8/dsdriver_LI_pl
dsdriver/license/pl_PL.utf8/odbc_LI_pl
dsdriver/license/pl_PL.utf8/jdbc4_LI_pl
dsdriver/license/it_IT.iso88591/
dsdriver/license/it_IT.iso88591/jdbc_LI_it
dsdriver/license/it_IT.iso88591/dsdriver_LI_it
dsdriver/license/it_IT.iso88591/odbc_LI_it
dsdriver/license/it_IT.iso88591/jdbc4_LI_it
dsdriver/license/fr_FR.iso88591/
dsdriver/license/fr_FR.iso88591/dsdriver_LI_fr
dsdriver/license/fr_FR.iso88591/jdbc_LI_fr
dsdriver/license/fr_FR.iso88591/jdbc4_LI_fr
dsdriver/license/fr_FR.iso88591/odbc_LI_fr
dsdriver/license/jdbc_REDIST.txt
dsdriver/ruby_driver/
dsdriver/ruby_driver/linuxamd64/
dsdriver/ruby_driver/linuxamd64/ruby32/
dsdriver/ruby_driver/linuxamd64/ruby32/ibm_db-2.5.11.gem
dsdriver/ruby_driver/linuxamd64/ruby32/README
dsdriver/ruby_driver/linuxamd64/ruby32/validate_install.rb
dsdriver/ruby_driver/linuxamd64/ruby64/
dsdriver/ruby_driver/linuxamd64/ruby64/README
dsdriver/ruby_driver/linuxamd64/ruby64/validate_install.rb
dsdriver/ruby_driver/linuxamd64/ruby64/ibm_db-2.5.11.gem
dsdriver/php_driver/
dsdriver/php_driver/linuxamd64/
dsdriver/php_driver/linuxamd64/php64/
dsdriver/php_driver/linuxamd64/php64/ibm_db2_5.3.6_nts.so
dsdriver/php_driver/linuxamd64/php64/pdo_ibm_5.3.6_nts.so
dsdriver/php_driver/linuxamd64/php64/validate_install.php
dsdriver/php_driver/linuxamd64/php64/ibm_db2_5.3.6_ts.so
dsdriver/php_driver/linuxamd64/php64/README
dsdriver/php_driver/linuxamd64/php64/pdo_ibm_5.3.6_ts.so
dsdriver/php_driver/linuxamd64/php32/
dsdriver/php_driver/linuxamd64/php32/pdo_ibm_5.3.6_nts.so
dsdriver/php_driver/linuxamd64/php32/pdo_ibm_5.3.6_ts.so
dsdriver/php_driver/linuxamd64/php32/validate_install.php
dsdriver/php_driver/linuxamd64/php32/ibm_db2_5.3.6_ts.so
dsdriver/php_driver/linuxamd64/php32/ibm_db2_5.3.6_nts.so
dsdriver/php_driver/linuxamd64/php32/README
dsdriver/rdf/
dsdriver/rdf/bin/
dsdriver/rdf/bin/droppredicateindices
dsdriver/rdf/bin/createrdfstoreandloader
dsdriver/rdf/bin/loadrdfstore
dsdriver/rdf/bin/rdfversion
dsdriver/rdf/bin/updaterdfstore
dsdriver/rdf/bin/setUp
dsdriver/rdf/bin/explainsparql
dsdriver/rdf/bin/createpredicateindices
dsdriver/rdf/bin/loadScripts/
dsdriver/rdf/bin/loadScripts/build-load-files.sh
dsdriver/rdf/bin/loadScripts/splitTriplesByEntity.awk
dsdriver/rdf/bin/loadScripts/createLoadFile.awk
dsdriver/rdf/bin/loadScripts/strings.awk
dsdriver/rdf/bin/loadScripts/stringLengthDistribution.sh
dsdriver/rdf/bin/loadScripts/long-strings.awk
dsdriver/rdf/bin/loadScripts/parse.awk
dsdriver/rdf/bin/loadScripts/findAllPredOccurrences.awk
dsdriver/rdf/bin/loadScripts/conditional-probabilities.awk
dsdriver/rdf/bin/loadScripts/run-stats.sh
dsdriver/rdf/bin/loadScripts/types.awk
dsdriver/rdf/bin/reorgswitchrdfstore
dsdriver/rdf/bin/setStatsSchedule
dsdriver/rdf/bin/reorgrdfstore
dsdriver/rdf/bin/queryrdfstore
dsdriver/rdf/bin/genpredicatemappings
dsdriver/rdf/bin/listpredicateindices
dsdriver/rdf/bin/updaterdfstorestats
dsdriver/rdf/bin/droprdfstore
dsdriver/rdf/bin/registerrdfudf
dsdriver/rdf/bin/reorgcheckrdfstore
dsdriver/rdf/bin/createrdfstore
dsdriver/rdf/lib/
dsdriver/rdf/lib/wala.jar
dsdriver/rdf/lib/db2rdf.jar
dsdriver/rdf/lib/antlr-3.3-java.jar
dsdriver/rdf/lib/rdfstore.jar
dsdriver/python32/
dsdriver/python32/validate_install.py
dsdriver/python32/ibm_db-2.0.3-py2.5-linux-i686.egg
dsdriver/python32/README
dsdriver/python32/ibm_db_django-1.0.5-py2.5.egg
dsdriver/python32/ibm_db_sa-0.3.0-py2.5.egg
dsdriver/python64/
dsdriver/python64/validate_install.py
dsdriver/python64/ibm_db-2.0.3-py2.5-linux-x86_64.egg
dsdriver/python64/ibm_db_sa-0.3.0-py2.5.egg
dsdriver/python64/README
dsdriver/python64/ibm_db_django-1.0.5-py2.5.egg
dsdriver/clpplus/
dsdriver/clpplus/tools/
dsdriver/clpplus/tools/clpplus.jar
dsdriver/clpplus/tools/jline-0.9.93.jar
dsdriver/clpplus/bin/
dsdriver/clpplus/bin/clpplus
dsdriver/json/
dsdriver/json/lib/
dsdriver/json/lib/db2NoSQLWireListener.jar
dsdriver/json/lib/js.jar
dsdriver/json/lib/mongo-2.8.0.jar
dsdriver/json/lib/nosqljson.jar
dsdriver/json/bin/
dsdriver/json/bin/db2nosql.sh
dsdriver/json/bin/wplistener.sh
dsdriver/jdbc_sqlj_driver/
dsdriver/jdbc_sqlj_driver/linuxamd64/
dsdriver/jdbc_sqlj_driver/linuxamd64/db2_db2driver_for_jdbc_sqlj.zip
dsdriver/installDSDriver
dsdriver/odbc_cli_driver/
dsdriver/odbc_cli_driver/linuxia32/
dsdriver/odbc_cli_driver/linuxia32/ibm_data_server_driver_for_odbc_cli_32.tar.gz
dsdriver/odbc_cli_driver/linuxamd64/
dsdriver/odbc_cli_driver/linuxamd64/ibm_data_server_driver_for_odbc_cli.tar.gz
[root@ts-maryk mary]# ls
 
 
[root@ts-maryk mary]# ls
dsdriver  isus  log  mary  sqllib  v10.5fp4_linuxx64_dsdriver.tar
[root@ts-maryk mary]# cd dsdriver
[root@ts-maryk dsdriver]# ls
clpplus  installDSDriver  jdbc_sqlj_driver  json  license  odbc_cli_driver  php_driver  python32  python64  rdf  ruby_driver
 
[root@ts-maryk dsdriver]# ls
clpplus  installDSDriver  jdbc_sqlj_driver  json  license  odbc_cli_driver  php_driver  python32  python64  rdf  ruby_driver
[root@ts-maryk dsdriver]# ./installDSDriver
-
- 'installDSDriver' script has started ...
-
- Unzipping and Copying each driver files to install path ...
  --> SUCCESS
- Generating db2profile & db2cshrc files ...
- Generating db2profile32 & db2cshrc32 files ...
  --> SUCCESS
- Performing post-installation clean up ...
  --> SUCCESS
- 'installDSDriver' completed successfully.
- Check /home/mary/dsdriver/./installDSDriver.log file for complete details.
 
[root@ts-maryk bin]# ls
clpplus  db2cli  db2diag  db2dsdcfgfill  db2ldcfg  db2lddrg  db2level  db2support  validate_install.php  validate_install.py  validate_install.rb
[root@ts-maryk bin]# ./db2level
DB21085I  This instance or install (instance name, where applicable: "*") uses
"64" bits and DB2 code release "SQL10054" with level identifier "0605010E".
Informational tokens are "DB2 v10.5.0.4", "s140813", "IP23623", and Fix Pack
"4".
Product is installed at "..".
 
 
[root@ts-maryk dsdriver]# ls
adm    bin    bnd  cfgcache  db2cshrc    db2dump     db2profile32  installDSDriver      java  lib    license  php     rdf   tools
adm32  bin32  cfg  conv      db2cshrc32  db2profile  include       installDSDriver.log  json  lib32  msg      python  ruby
[root@ts-maryk dsdriver]# cd bin
 
 
[root@ts-maryk bin]# env
:
 
SHELL=/bin/bash
TERM=xterm
HISTSIZE=1000
SSH_CLIENT=9.25.136.251 61811 22
SSH_TTY=/dev/pts/2
USER=mary
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/NX/bin
MAIL=/var/spool/mail/mary
NXDIR=/usr/NX
PWD=/home/mary/dsdriver/bin
INPUTRC=/etc/inputrc
LANG=en_US.UTF-8
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
HOME=/root
SHLVL=2
LOGNAME=mary
CVS_RSH=ssh
SSH_CONNECTION=9.25.136.251 61811 9.25.137.113 22
LESSOPEN=|/usr/bin/lesspipe.sh %s
DISPLAY=localhost:11.0
G_BROKEN_FILENAMES=1
XAUTHORITY=/root/.xauthBQqldS
_=/bin/env
OLDPWD=/home/mary/dsdriver
 
[root@ts-maryk bin]# ls
clpplus  db2cli  db2diag  db2dsdcfgfill  db2ldcfg  db2lddrg  db2level  db2support  validate_install.php  validate_install.py  validate_install.rb
[root@ts-maryk bin]# cd ..
[root@ts-maryk dsdriver]# ls
adm    bin    bnd  cfgcache  db2cshrc    db2dump     db2profile32  installDSDriver      java  lib    license  php     rdf   tools
adm32  bin32  cfg  conv      db2cshrc32  db2profile  include       installDSDriver.log  json  lib32  msg      python  ruby
[root@ts-maryk dsdriver]# more db2profile
#############################################################################
#
 
 
#############################################################################
 
# Generic PATH and library path settings
export PATH="/home/mary/dsdriver/./bin":"$PATH"
export PATH="/home/mary/dsdriver/./adm":"$PATH"
 
export LD_LIBRARY_PATH="/home/mary/dsdriver/./lib":"$LD_LIBRARY_PATH"
 
# Environment variables for sqlj and JDBC/JCC drivers
export CLASSPATH="/home/mary/dsdriver/./java/db2jcc.jar":"$CLASSPATH"
export CLASSPATH="/home/mary/dsdriver/./java/sqlj.zip":"$CLASSPATH"
 
# Environment variables for open source drivers
export IBM_DB_DIR="/home/mary/dsdriver/."
export IBM_DB_HOME="/home/mary/dsdriver/."
export IBM_DB_LIB="/home/mary/dsdriver/./lib"
export IBM_DB_INCLUDE="/home/mary/dsdriver/./include"
export DB2_HOME="/home/mary/dsdriver/./include"
export DB2LIB="/home/mary/dsdriver/./lib"
 
# Environment variables for CLPPlus utility
export CLASSPATH="/home/mary/dsdriver/./tools/clpplus.jar":"$CLASSPATH"
export CLASSPATH="/home/mary/dsdriver/./tools/jline-0.9.93.jar":"$CLASSPATH"
export CLASSPATH="/home/mary/dsdriver/./rdf/lib/antlr-3.3-java.jar":"$CLASSPATH"
--More--(99%)
 
Sourcing the db2profile manually for DS driver (This step has been documented in our knowledge center) is important for certain operations otherwise you might run into errors. Note the  LD_LIBRARY_PATH=/home/mary/dsdriver/./lib:  from db2profile (generated as part of installDSDriver script) is set in the environment. 
 
[root@ts-maryk dsdriver]# . ./db2profile
[root@ts-maryk dsdriver]# env
DB2INSTANCE=mary
IBM_DB_LIB=/home/mary/dsdriver/./lib
HOSTNAME=ts-maryk
TERM=xterm
SHELL=/bin/bash
HISTSIZE=1000
SSH_CLIENT=9.25.136.251 61811 22
IBM_DB_DIR=/home/mary/dsdriver/.
SSH_TTY=/dev/pts/2
USER=mary
LD_LIBRARY_PATH=/home/mary/dsdriver/./lib:
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
IBM_DB_HOME=/home/mary/dsdriver/.
MAIL=/var/spool/mail/mary
PATH=/home/mary/dsdriver/./adm:/home/mary/dsdriver/./bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/NX/bin
NXDIR=/usr/NX
INPUTRC=/etc/inputrc
PWD=/home/mary/dsdriver
LANG=en_US.UTF-8
DB2_HOME=/home/mary/dsdriver/./include
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SHLVL=3
HOME=/root
IBM_DB_INCLUDE=/home/mary/dsdriver/./include
LOGNAME=mary
CVS_RSH=ssh
CLASSPATH=/home/mary/dsdriver/./rdf/lib/antlr-3.3-java.jar:/home/mary/dsdriver/./tools/jline-0.9.93.jar:/home/mary/dsdriver/./tools/clpplus.jar:/home/mary/dsdriver/./java/sqlj.zip:/home/mary/dsdriver/./java/db2jcc.jar
SSH_CONNECTION=9.25.136.251 61811 9.25.137.113 22
LESSOPEN=|/usr/bin/lesspipe.sh %s
DISPLAY=localhost:11.0
DB2LIB=/home/mary/dsdriver/./lib
G_BROKEN_FILENAMES=1
XAUTHORITY=/root/.xauthDxxSlO
_=/bin/env
[root@ts-maryk dsdriver]#
 
Hope it helps.
 
Please feel free to post your questions and your feedback on this post.
 
Thanks for reading!
 
 
 
 
 
 

 

[{"Business Unit":{"code":"BU029","label":"Data and AI"}, "Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":""}]

UID

ibm11141306