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

Configure the DB2 ODBC driver on Linux

Before you establish an ODBC connection to connect to DB2 on Linux, configure the ODBC driver.
  1. To get the DB2 ODBC 64-bit driver, contact Informatica Global Customer Support.
  2. Install the DB2 ODBC driver on the Secure Agent machine.
  3. Configure the
    odbc.ini
    file properties in the following format:
    [ODBC_DB2] Driver=/root/ODBC_Drivers/DWdb228.so Description=<Description of the data source> Database=<Name of the database> IpAddress=<IP address for the DB2 server> LogonID=<Login id for the DB2 database> Password=<Password for the DB2 database> TcpPort=50000
  4. Specify the following properties in the
    odbc.ini
    file:
    Property
    Description
    Driver
    Location of the DB2 ODBC driver file.
    Description
    Description of the data source.
    Database
    Name of the DB2 database.
    IpAddress
    IP address of the DB2 server.
    LogonID
    Login id for the DB2 database.
    Password
    Password for the DB2 database.
    TcpPort
    Port number of the DB2 server.
  5. From the command line, run the following command to export the
    odbc.ini
    file:
    Export ODBCINI=/<odbc.ini file path>/odbc.ini
  6. Restart the Secure Agent.

0 COMMENTS

We’d like to hear from you!