Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Table of Contents

Search

  1. Introduction to ODBC Connector
  2. ODBC connections
  3. Synchronization tasks with ODBC Connector
  4. Mappings and mapping tasks with ODBC Connector
  5. Pushdown optimization (SQL ELT)
  6. Data type reference

ODBC Connector

ODBC Connector

Configuring the DB2 ODBC driver on Linux

Configuring 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. 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!