Table of Contents

Search

  1. Preface
  2. Part 1: Installation Getting Started
  3. Part 2: Before You Install the Services
  4. Part 3: Run the Services Installer
  5. Part 4: After You Install the Services
  6. Part 5: Informatica Client Installation
  7. Part 6: Uninstallation
  8. Appendix A: Starting and Stopping Informatica Services
  9. Appendix B: Connecting to Databases from UNIX or Linux
  10. Appendix C: Connecting to Databases from Windows
  11. Appendix D: Updating the DynamicSections Parameter of a DB2 Database

Installation for PowerCenter and Data Quality

Installation for PowerCenter and Data Quality

Configuring ODBC Connectivity

Configuring ODBC Connectivity

You can configure ODBC connectivity to a Netezza database.
The following steps provide a guideline for configuring ODBC connectivity. For specific instructions, see the database documentation.
  1. To configure connectivity for the integration service process, log in to the machine as a user who can start a service process.
  2. Set the ODBCHOME, NZ_ODBC_INI_PATH, and PATH environment variables.
    ODBCHOME.
    Set the variable to the ODBC installation directory. For example:
    Using a Bourne shell:
    $ ODBCHOME=<Informatica server home>/ODBC7.1; export ODBCHOME
    Using a C shell:
    $ setenv ODBCHOME =<Informatica server home>/ODBC7.1
    PATH.
    Set the variable to the ODBCHOME/bin directory. For example:
    Using a Bourne shell:
    PATH="${PATH}:$ODBCHOME/bin"
    Using a C shell:
    $ setenv PATH ${PATH}:$ODBCHOME/bin
    NZ_ODBC_INI_PATH.
    Set the variable to point to the directory that contains the odbc.ini file. For example, if the odbc.ini file is in the $ODBCHOME directory:
    Using a Bourne shell:
    NZ_ODBC_INI_PATH=$ODBCHOME; export NZ_ODBC_INI_PATH
    Using a C shell:
    $ setenv NZ_ODBC_INI_PATH $ODBCHOME
  3. Set the shared library environment variable.
    The shared library path must contain the ODBC libraries. It must also include the Informatica services installation directory
    (server_dir)
    .
    Set the shared library environment variable based on the operating system. Set the Netezza library folder to <NetezzaInstallationDir>/lib64.
    The following table describes the shared library variables for each operating system:
    Operating System
    Variable
    Linux
    LD_LIBRARY_PATH
    AIX
    LIBPATH
    For example, use the following syntax for Linux:
    • Using a Bourne shell:
      $ LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:$HOME/server_dir:$ODBCHOME/lib:<NetezzaInstallationDir>/lib64” export LD_LIBRARY_PATH
    • Using a C shell:
      $ setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:$HOME/server_dir:$ODBCHOME/lib:<NetezzaInstallationDir>/lib64"
    For AIX
    • Using a Bourne shell:
      $ LIBPATH=${LIBPATH}:$HOME/server_dir:$ODBCHOME/lib:<NetezzaInstallationDir>/lib64; export LIBPATH
    • Using a C shell:
      $ setenv LIBPATH ${LIBPATH}:$HOME/server_dir:$ODBCHOME/lib:<NetezzaInstallationDir>/lib64
  4. Edit the existing odbc.ini file or copy the odbc.ini file to the home directory and edit it.
    This file exists in $ODBCHOME directory.
    $ cp $ODBCHOME/odbc.ini $HOME/.odbc.ini
    Add an entry for the Netezza data source under the section [ODBC Data Sources] and configure the data source.
    For example:
    [NZSQL] Driver = /export/home/appsqa/thirdparty/netezza/lib64/libnzodbc.so Description = NetezzaSQL ODBC Servername = netezza1.informatica.com Port = 5480 Database = infa Username = admin Password = password Debuglogging = true StripCRLF = false PreFetch = 256 Protocol = 7.0 ReadOnly = false ShowSystemTables = false Socket = 16384 DateFormat = 1 TranslationDLL = TranslationName = TranslationOption = NumericAsChar = false
    For more information about Netezza connectivity, see the Netezza ODBC driver documentation.
  5. Verify that the last entry in the odbc.ini file is InstallDir and set it to the ODBC installation directory.
    For example:
    InstallDir=<Informatica install directory>/<ODBCHOME directory>
  6. Edit the .cshrc or .profile file to include the complete set of shell commands.
  7. Restart the Informatica services.

0 COMMENTS

We’d like to hear from you!