Table of Contents

Search

  1. Preface
  2. Analyst Service
  3. Catalog Service
  4. Content Management Service
  5. Data Integration Service
  6. Data Integration Service Architecture
  7. Data Integration Service Management
  8. Data Integration Service Grid
  9. Data Integration Service Applications
  10. Interactive Data Preparation Service
  11. Enterprise Data Preparation Service
  12. Informatica Cluster Service
  13. Mass Ingestion Service
  14. Metadata Access Service
  15. Metadata Manager Service
  16. Model Repository Service
  17. PowerCenter Integration Service
  18. PowerCenter Integration Service Architecture
  19. High Availability for the PowerCenter Integration Service
  20. PowerCenter Repository Service
  21. PowerCenter Repository Management
  22. PowerExchange Listener Service
  23. PowerExchange Logger Service
  24. SAP BW Service
  25. Search Service
  26. System Services
  27. Test Data Manager Service
  28. Test Data Warehouse Service
  29. Web Services Hub
  30. Application Service Upgrade
  31. Appendix A: Application Service Databases
  32. Appendix B: Connecting to Databases from Windows
  33. Appendix C: Connecting to Databases
  34. Appendix D: Updating the DynamicSections Parameter of a DB2 Database

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
    Solaris
    LD_LIBRARY_PATH
    Linux
    LD_LIBRARY_PATH
    AIX
    LIBPATH
    For example, use the following syntax for Solaris and 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.