DB2 10.5 for Linux, UNIX, and Windows

installDSDriver - Extract IBM Data Server Driver components command

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.

The installDSDriver command from the 32-bit IBM Data Server Driver Package software 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.

The installDSDriver command from the 64-bit IBM Data Server Driver Package software creates following script files under the root installation path (INSTALL_PATH) of the IBM Data Server Driver Package software:
  • The db2profile file for the 64-bit Bash or Korn shell environment.
  • The db2profile32 file for the 32-bit Bash or Korn shell environment.
  • The db2cshrc file for the 64-bit C shell environment.
  • The db2cshrc32 file for the 32-bit C shell environment.

Authorization

None

Prerequisite

The unzip utility must be installed on the operating system before running the command.

Command syntax

Read syntax diagramSkip visual syntax diagram
>>-installDSDriver--+-------------------------------------+----->
                    '- -upgrade--<existing-dsdriver-path>-'   

>--+-----+-----------------------------------------------------><
   '- -h-'   

Command parameters

-h
Displays usage information.
-upgrade <existing-dsdriver-path>
Upgrades existing IBM Data Server Driver Package software installation specified in the <existing-dsdriver-path> path. All user created files are preserved in the existing IBM Data Server Driver Package software installation path, that includes following files:
  • The db2cli.ini file.
  • The db2dsdriver.cfg file.
  • The DB2® connect license file.
If the -upgrade <existing-dsdriver-path> option is not specified, the installDSDriver script installs the IBM Data Server Driver as a new installation.

Usage notes

If you want to run the db2profile or db2cshrc script from the installation path, you can issue the following commands:
  • Korn or Bash shell environment:
    $ . ./db2profile
  • C shell environment:
    source ./db2cshrc
If you want to configure the 32-bit drivers after installing the 64-bit IBM Data Server Driver Package software, run the db2profile32 or db2cshrc32 script from the installation path:
  • Korn or Bash shell environment:
    $ . ./db2profile32
  • C shell environment:
    source ./db2cshrc32