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 Netezza ODBC driver on Linux

Configure the Netezza ODBC driver on Linux

Before you establish an ODBC connection to connect to Netezza on Linux, configure the ODBC driver.
  1. Add the path of the
    odbc.ini
    file to the ODBCINI environment variable.
    For example,
    setenv ODBCINI "/data/home/qamercury/cloud_td/ODBCINI/odbc.ini"
  2. To set the ODBCINST environment variable, use the following syntax:
    setenv ODBCINST /data/home/qamercury/cloud_td/ODBCINI/odbcinst.ini
  3. To set the LD_LIBRARY_PATH environment variable, use the following syntax:
    setenv LD_LIBRARY_PATH ".:/export/qa_adp/thirdparty/netezza/linux.64/lib64:$LD_LIBRARY_PATH"
  4. Add entries for the Netezza data sources in the
    odbc.ini
    file.
    The following format shows a sample entry in the
    odbc.ini
    file:
    [Sample Netezza ODBC DSN] Driver=/export/qa_adp/thirdparty/netezza/linux.64/lib64/libnzodbc.so Description=NetezzaSQL ODBC Servername=adaptersnz2.informatica.com Port=5480 Database=ADPQA_DB Username=adpqa Password=adpqa StripCRLF=false ReadOnly=false ShowSystemTables=false DateFormat=1 NumericAsChar=false DebugLogging=true
  5. Restart the Secure Agent after you configure the environment variables.

0 COMMENTS

We’d like to hear from you!