Table of Contents

Search

  1. Preface
  2. Introduction to ODBC Connector
  3. Connections for ODBC
  4. Synchronization tasks with ODBC Connector
  5. Mappings and mapping tasks with ODBC Connector
  6. SQL ELT optimization
  7. Data type reference

ODBC Connector

ODBC Connector

Configure the ODBC driver on Linux

Configure the ODBC driver on Linux

Before you establish an ODBC connection to connect to an ODBC-compliant database or data warehouse on Linux, configure the ODBC driver.
  1. Download the ODBC drivers from the database or data warehouse-specific website.
    To get the DB2 ODBC 64-bit driver and SAP IQ ODBC 64-bit driver, contact Informatica Global Customer Support.
  2. Install the ODBC drivers on the Secure Agent machine.
  3. Add entries for the data sources in the
    odbc.ini
    file.
    Check out Sample odbc.ini files for ODBC connection types to know more about the
    odbc.ini
    file samples that you can use for different connection types.
  4. From the command line, run the following command to export the
    odbc.ini
    file:
    Export ODBCINI=/<odbc.ini file path>/odbc.ini
  5. Additionally, set environment variables for certain ODBC drivers on the Secure Agent machine.
    For example, set environment variables for the following ODBC drivers:
    ODBC drivers
    Environment variables
    Microsoft Azure SQL Data Warehouse ODBC driver
    Set the following environment variables:
    • setenv ODBCINI "/data/home/adputf_9/cloud_td/ODBCINI/odbc.ini"
    • setenv LD_LIBRARY_PATH "/opt/microsoft/msodbcsql/lib64/libmsodbcsql-11.0.so.2270.0"
    Netezza ODBC driver
    Set the following environment variables:
    • setenv ODBCINI "/data/home/qamercury/cloud_td/ODBCINI/odbc.ini"
    • setenv ODBCINST /data/home/qamercury/cloud_td/ODBCINI/odbcinst.ini
    • setenv LD_LIBRARY_PATH ".:/export/qa_adp/thirdparty/netezza/linux.64/lib64:$LD_LIBRARY_PATH"
    Teradata ODBC driver
    Set the following environment variables:
    • setenv ODBCINI "/data/home/adputf_9/cloud_td/ODBCINI/odbc.ini"
    • setenv LD_LIBRARY_PATH "/opt/teradata/client/<Version>/lib64"
  6. Restart the Secure Agent.

Back to Top

0 COMMENTS

We’d like to hear from you!