Table of Contents

Search

  1. Preface
  2. PowerExchange Installation and Upgrade Overview
  3. Installation Planning
  4. Upgrade Planning
  5. Installing and Upgrading PowerExchange on IBM i
  6. Installing and Upgrading PowerExchange on Linux and UNIX
  7. Installing and Upgrading PowerExchange on Windows
  8. Installing and Upgrading PowerExchange on z/OS
  9. Appendix A: Upgrade Considerations
  10. Appendix B: PowerExchange Environment
  11. Appendix C: Manual Installation on IBM i

Installation and Upgrade Guide

Installation and Upgrade Guide

Step 6. Perform Platform-Specific Tasks for Microsoft SQL Server

Step 6. Perform Platform-Specific Tasks for Microsoft SQL Server

If you plan to use Microsoft SQL Server as a data source and run the PowerExchange Listener on a Linux system, you must configure the DataDirect ODBC driver on Linux that PowerExchange supplies to connect to the SQL Server system.
  1. Set the ODBCINI and ODBCINST environment variables to the DataDirect ODBC installation directory.
    If the installation directory is
    pwx_base_installation
    /ODBC
    version
    , use the following syntax to set the value:
    $ ODBCINI=
    pwx_base_installation
    /ODBC
    version
    /odbc.ini; export ODBCINI
    $ ODBCINST=
    pwx_base_installation
    /ODBC
    version
    /odbcinst.ini; export ODBCINST
  2. Set the shared library environment variable. Use the following syntax:
    $ LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:
    pwx_base_installation
    /ODBC
    version
    /lib; export LD_LIBRARY_PATH
  3. Edit the existing odbcinst.ini file.
    Verify that the "'Driver'" path in the "[DataDirect 8.0 SQL Server Wire Protocol]" section is correct.
    The entry should appear as follows:
    Driver=
    pwx_base_installation
    /ODBC
    version
    /lib/DWsqls28.so

0 COMMENTS

We’d like to hear from you!