Table of Contents

Search

  1. Preface
  2. Using Metadata Manager
  3. Configuring Metadata Manager
  4. Application Resources
  5. Business Glossary Resources
  6. Business Intelligence Resources
  7. Custom Resources
  8. Data Integration Resources
  9. Data Modeling Resources
  10. Database Management Resources
  11. Universal Resources
  12. Managing Resources
  13. Loading and Monitoring Resources
  14. Managing Permissions
  15. Resource Migration
  16. Repository Migration
  17. Appendix A: Metadata Manager Login
  18. Appendix B: Metadata Manager Properties Files
  19. Appendix C: Resource Configuration Files
  20. Appendix D: Glossary

Metadata Manager Administrator Guide

Metadata Manager Administrator Guide

Configure an ODBC Connection

Configure an ODBC Connection

When you load an Informix resource, the PowerCenter Integration Service uses an ODBC driver to connect to the Informix database. Therefore, you must configure an ODBC connection to the Informix database on the machine where the PowerCenter Integration Service runs. When you create the Informix resource in Metadata Manager, use the ODBC data source name as the connect string.
For ODBC connectivity, use the DataDirect ODBC drivers installed with Informatica. To ensure compatibility between Informatica and databases, use the appropriate database client libraries.
If you use the DataDirect ODBC driver provided by Informatica, you do not need the database client. The ODBC wire protocols do not require the database client software to connect to the database.

Configuring ODBC Connectivity on Windows

  1. Create an ODBC data source using the DataDirect ODBC Wire Protocol driver for Informix provided by Informatica.
  2. Verify that you can connect to the Informix database using the ODBC data source. If the connection fails, see the database documentation.

Configuring ODBC Connectivity on UNIX

  1. Set the ODBCHOME environment variable to the ODBC installation directory. For example:
    Using a Bourne shell:
    $ ODBCHOME=<Informatica services installation directory>/ODBC7.1; export ODBCHOME
    Using a C shell:
    $ setenv ODBCHOME <Informatica services installation directory>/ODBC7.1
  2. Set the ODBCINI environment variable to the location of the odbc.ini file. For example, if the odbc.ini file is in the $ODBCHOME directory:
    Using a Bourne shell:
    ODBCINI=$ODBCHOME/odbc.ini; export ODBCINI
    Using a C shell:
    $ setenv ODBCINI $ODBCHOME/odbc.ini
  3. Edit the existing odbc.ini file in the $ODBCHOME directory or copy this odbc.ini file to the UNIX home directory and edit it.
    $ cp $ODBCHOME/odbc.ini $HOME/.odbc.ini
  4. Add an entry for the Informix data source under the section [ODBC Data Sources] and configure the data source. For example:
    [Informix11] Driver=/data/mm10/Informatica/source/ODBC7.1/lib/DWifcl27.so Description=DataDirect 7.1 Informix Wire Protocol AlternateServers= ApplicationUsingThreads=1 CancelDetectInterval=0 ConnectionRetryCount=0 ConnectionRetryDelay=3 Database=<database_name> HostName=<Informix_host> LoadBalancing=0 LogonID= Password= PortNumber=<Informix_server_port> ServerName=<Informix_server> TrimBlankFromIndexName=1 UseDelimitedIdentifiers=0
  5. Set the PATH and shared library environment variables by executing the script odbc.sh or odbc.csh in the $ODBCHOME directory.
    Using a Bourne shell:
    sh odbc.sh
    Using a C shell:
    source odbc.csh
  6. Verify that you can connect to the Informix database using the ODBC data source. If the connection fails, see the database documentation.

0 COMMENTS

We’d like to hear from you!