0065 UsingSequeLink
0065 UsingSequeLink
Table of Contents
Overview ........................................................................................................................................................................... 2
How SequeLink Communicates with PowerCenter........................................................................................................... 3
Configuring SequeLink to Access data ............................................................................................................................. 4
Step 1. Downloading the SequeLink Software ............................................................................................................. 4
Step 2. Creating an ODBC Data Source ...................................................................................................................... 4
Step 3. Installing the SequeLink Server for ODBC Socket........................................................................................... 4
Step 4. Starting SequeLink ODBC Socket Services..................................................................................................... 7
Step 5. Configuring the SequeLink ODBC Socket Server............................................................................................ 8
Step 6. Installing the SequeLink ODBC Client ............................................................................................................. 9
Step 7. Configuring the SequeLink ODBC Client ......................................................................................................... 9
Setting the Environment Variables......................................................................................................................... 10
Configuring odbc.ini ............................................................................................................................................... 10
Restarting Informatica Services ............................................................................................................................. 10
Step 8: Configuring a PowerCenter Connection Object ............................................................................................. 11
Overview
PowerExchange provides access to most popular types of enterprise data sources and targets. If you need
PowerCenter sessions to access data on sources or targets for which PowerExchange does not provide access, you
might be able to use the DataDirect SequeLink Client and Server with the SequeLink ODBC drivers for data access.
SequeLink provides ODBC drivers for databases such as Microsoft Access, FileMaker, Progress, FoxPro, and dBase.
For a list databases that SequeLink supports, see the DataDirect SequeLink Support Matrix.
Important: Informatica does not support ODBC as a substitute for PowerExchange. PowerExchange provides better
performance and has unique capabilities, such as change data capture (CDC) and pushdown optimization, that the
ODBC drivers cannot exploit. Also, Informatica might not be able to certify all ODBC drivers prior to each release. For
more information, see the support statement about ODBC drivers with Informatica products, which is available from the
Informatica Support site at https://my-prod.informatica.com/portal/wps/myportal/us/Support#.
PowerCenter customers can download and use the SequeLink Client and SequeLink Server for ODBC Socket at no
cost. The SequeLink ODBC drivers that Informatica provides can only be used with PowerCenter. With SequeLink, you
can use a Windows ODBC driver to access data on a Windows machine from a UNIX or Linux machine that runs
PowerCenter Services.
To use SequeLink, install the SequeLink Client on the machine where the PowerCenter Integration Service runs and
install the SequeLink Server for ODBC socket on the machine where the data is stored. The SequeLink Server for
ODBC Socket includes the SequeLink Service and SequeLink Management Console Snap-in. Use the SequeLink
Management Console Snap-in to manage the SequeLink Service. The SequeLink Client includes the ODBC drivers,
driver manager, and odbc.ini.
2
How SequeLink Communicates with PowerCenter
The following figure provides an overview of how SequeLink communicates with PowerCenter:
In the example above, PowerCenter uses SequeLink software to read data from a Microsoft Access database. The
SequeLink Client components on the UNIX machine connect to the SequeLink Server on the Windows machine to
access the Microsoft Access database.
The data source names provide connectivity to the data that you want to access. You specify data source names when
you configure the connection object, SequeLink server data source, odbc.ini, and the System DSN.
The following figure shows the relationship between the data source names:
3
y ODBC data source in odbc.ini. When you configure odbc.ini, you specify a name for the ODBC Data Source. The
data source name must match the connect string you provided in the connection object. If you have multiple
SequeLink server data sources, the ServerDataSource value in odbc.ini must match the SequeLink server data
source name in the SequeLink Management Console Snap-in. In the figure above, the ODBC Data Source is Test
and the ServerDataSource is Access1.
y Connect string in the connection object. When you create the ODBC Connection object in the Workflow
Manager, you specify a connect string. The connect string should contain the ODBC data source name that you
configure in odbc.ini. In the figure above, the connect string is Test.
4
The installation wizard appears.
3. Click Next.
4. Accept the License Agreement. Then, click Next.
The Custom Setup screen appears.
5
6. Click Next.
8. You can configure the data source name for the ODBC Connection String. Enter DSN=<Data Source Name>. The
DSN that you provide will be assigned to the Default SequeLink data source setting. Click Next to continue.
-or-
6
You can configure the ODBC connect string with the SequeLink Management Console Snap-in after you install.
Click Next to continue.
For information about configuring the ODBC Connection String with the SequeLink Management Console
Snap-in, see “Configure the SequeLink OBDC Socket Server.”
9. Click Install.
7
The logon to SequeLink Service dialog box appears.
2. Enter the password for the user that administers the SequeLink Service. Then, click OK.
To configure the ODBC connect string for the Default data source setting:
1. In the SequeLink Management Console Snap-in, navigate to the following location:
SequeLink Service > SLSocket60 > Configuration > Data Source Settings > Default > Advanced.
8
2. Right-click on Data Source Settings and then select New > Data Source.
9
Setting the Environment Variables
Set the following environment variables:
export SQLNK_ODBC_HOME=<SequeLink client directory>/lib
export ODBCINI=<SequeLink client directory>/lib/odbc.ini
export LD_LIBRARY_PATH=<SequeLink client directory>/lib:$LD_LIBRARY_PATH
The PowerCenter installation directory and the SequeLink client directory contain an odbc.ini file. You can choose to
configure the odbc.ini that is provided with PowerCenter. Set ODBCINI to the location of the odbc.ini that you want to
use.
Note: The name of the lib directory can be different for each platform. For example, the lib directory may be named
lib64.
Configuring odbc.ini
PowerCenter uses odbc.ini to connect to the SequeLink data source.
To configure odbc.ini, you need the following information:
y Data source name. The data source name that you provided when configuring the connect string for the ODBC
connection object in the Workflow Manager.
y Driver location. The driver is located in the lib folder of the SequeLink client installation location. The driver name
is dwslk22.xx or ivslk22.xx. The file name extension can be different for each platform.
y Host name and SequeLink Server port number. Host and port information is available on the Sequelink Socket
Server Services folder in the General area of the Service Settings.
y SequeLink server data source name. Optional. The name of the SequeLink server data source.
To update odbc.ini, create an entry for the date source under the ODBC Data Sources section and also create an entry
for the date source that specifies the connection information.
For example, if the Data Source name is Test and you created a SequeLink data source setting named Access1,
create an entry under the ODBC Data Sources section and also create an entry that includes the driver, description,
port, host, and server data source name.
[ODBC Data Sources]
Test = DataDirect 32-BIT SequeLink 6.0
[Test]
Driver= <SequeLink client directory>/lib/dwslk22.so
Description=DataDirect 32-BIT SequeLink 6.0
Host=<machine name that runs the SequeLink Service>
Port=<port number of the SequeLink Server>
UseLDAP=0
ServerDataSource=Access1
Note: The ServerDataSource is an optional field. If you do not specify the SequeLink server data source name in the
ServerDataSource field, the SequeLink Service uses the default SequeLink data source. Configure ServerDataSource
when you have multiple SequeLink data sources.
10
Note: If you use a soft link to specify the location of infaservice, set the INFA_HOME environment variable to the
location of the PowerCenter Services installation directory.
Author
Padma Heid
Technical Writer
Acknowledgements
The author would like to thank Manigandan Paramasivan, Chaitanya (Chai) Pydimukkala, and Tim Kirwan (DataDirect
Technologies) for their contributions to this article.
11