Installs IBM® Data Server Driver (ds driver) components and creates db2profile and db2cshrc files.
On Linux and UNIX operating systems, the installDSDriver command installs and upgrades all the components of the IBM Data Server Driver in the specified directory and removes the .tar files that were extracted.
In DB2® V10.1 Fix Pack 1 and later fix packs, issuing the installDSDriver command creates the db2profile file for the Bash or Korn shell and the db2cshrc file for the C shell. The db2profile and db2cshrc files are created under the root installation path (INSTALL_PATH) of the IBM Data Server Driver Package software.
None
The unzip utility must be installed on the operating system before running the command.
>>-installDSDriver--+-------------------------------------+-----> '- -upgrade--<existing-dsdriver-path>-' >--+-----+----------------------------------------------------->< '- -h-'
The -upgrade <existing-dsdriver-path> option is available in the IBM Data Server Driver Package software Version 10.1 Fix pack 2 and later fix packs.
gunzip vxxxfpx_xxxxx_odbc_cli.tar.gz
tar -xvf vxxxfpx_xxxxx_odbc_cli.tar
The installDSDriver script
from the extracted package can now be used to install the 32-bit drivers,
the 32-bit tar files, and directories in the package are not removed
by the script.In Version 10.1 Fix Pack 2 and higher fix packs, the installDSDriver script from the 32-bit IBM Data Server Driver Package software installs 32-bit and removes 32-bit tar files.
$ . ./db2profile
source ./db2cshrc
$ . ./db2profile32
source ./db2cshrc32