Table of Contents

Search

  1. Preface
  2. Analyst Service
  3. Catalog Service
  4. Content Management Service
  5. Data Integration Service
  6. Data Integration Service Architecture
  7. Data Integration Service Management
  8. Data Integration Service Grid
  9. Data Integration Service Applications
  10. Interactive Data Preparation Service
  11. Enterprise Data Preparation Service
  12. Informatica Cluster Service
  13. Mass Ingestion Service
  14. Metadata Access Service
  15. Metadata Manager Service
  16. Model Repository Service
  17. PowerCenter Integration Service
  18. PowerCenter Integration Service Architecture
  19. High Availability for the PowerCenter Integration Service
  20. PowerCenter Repository Service
  21. PowerCenter Repository Management
  22. PowerExchange Listener Service
  23. PowerExchange Logger Service
  24. SAP BW Service
  25. Search Service
  26. System Services
  27. Test Data Manager Service
  28. Test Data Warehouse Service
  29. Web Services Hub
  30. Application Service Upgrade
  31. Appendix A: Application Service Databases
  32. Appendix B: Connecting to Databases from Windows
  33. Appendix C: Connecting to Databases
  34. Appendix D: Updating the DynamicSections Parameter of a DB2 Database

Configuring ODBC Connectivity

Configuring ODBC Connectivity

You can configure ODBC connectivity to an Informix database.
The following steps provide a guideline for configuring ODBC connectivity. For specific instructions, see the database documentation.
  1. Set the ODBCHOME environment variable to the ODBC installation directory. For example:
    Using a Bourne shell:
    $ ODBCHOME=<Informatica server home>/ODBC7.1; export ODBCHOME
    Using a C shell:
    $ setenv ODBCHOME <Informatica server home>/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:
    [Informix Wire Protocol] Driver=/export/home/Informatica/10.0.0/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> ReportCodePageConversionErrors=0 ServerName=<Informix_server> TrimBlankFromIndexName=1
  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.