Professional Documents
Culture Documents
For more information about SPSS software products, please visit our Web site at
http://www.spss.com or contact
Marketing Department
SPSS Inc.
233 South Wacker Drive, 11th Floor
Chicago, IL 60606-6307
Tel: (312) 651-3000
Fax: (312) 651-3668
SPSS is a registered trademark and the other product names are the trademarks of SPSS Inc. for its
proprietary computer software. No material describing such software may be produced or distributed without
the written permission of the owners of the trademark and license rights in the software and the copyrights
in the published materials.
The SOFTWARE and documentation are provided with RESTRICTED RIGHTS. Use, duplication, or
disclosure by the Government is subject to restrictions as set forth in subdivision (c)(1)(ii) of The Rights in
Technical Data and Computer Software clause at 52.227-7013. Contractor/manufacturer is SPSS Inc., 233
South Wacker Drive, 11th Floor, Chicago, IL 60606-6307.
DataDirect, DataDirect Connect, INTERSOLV, and SequeLink are registered trademarks of MERANT
Solutions Inc.
Windows is a registered trademark of Microsoft Corporation.
UNIX is a registered trademark of The Open Group.
General notice: Other product names mentioned herein are used for identification purposes only and may be
trademarks of their respective companies.
Getting Started with SPSS Data Access Technology
Copyright 2001 by SPSS Inc.
All rights reserved.
Printed in the United States of America.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by
any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written
permission of the publisher.
Chapter
Overview
SPSS products can access data from a variety of data file types, including databases.
SPSS products are distributed with technologies for accessing data from a database:
Merant DataDirect SequeLink and Merant DataDirect Connect ODBC, and
Merant DataDirect Connect JDBC.
This guide presents factors to consider when deciding which data access
technology to use with your SPSS product, and then provides an overview of
deploying a data access technology at your site. It is primarily for SPSS system
administrators who are installing an SPSS product for use in a networked computer
environment, and who need to provide end users access to databases on remote
servers.
The Merant technologies are:
SequeLink. A scalable, server-based middleware that offers high-performance
connectivity to remote relational databases. SequeLink consists of two components:
a single, thin, universal SequeLink client component and a SequeLink Server (a
common server DBMS interface). The universal client component provides direct,
point-to-point connections from client to server, completely eliminating the need for
proprietary database vendor transport middleware, such as Oracle SQL*NET, Oracle
Net8, Informix I-Connect, or Sybase Open Client.
Connect ODBC. A comprehensive set of individual, database-specific drivers that use
ODBC to deliver reliable connectivity to all major data stores, from relational
databases to flat-file data. Connect ODBC leverages your existing database vendor
transport middleware, such as Oracle SQL*NET, Oracle Net8, Informix I-Connect, or
Sybase Open Client.
4
Chapter 1
Connect JDBC. Connect JDBC supports the JDBC API. Connect JDBC drivers are Type
4 JDBC drivers that provide connectivity for the enterprise Java environment. If you
are a Java developer and want to access data from Java applets or applications, consider
using Connect JDBC.
Chapter
Choosing a
Data Access Technology
This chapter presents factors to consider when deciding which database technology to
use with your SPSS product.
Before you continue, consider if you need to deploy a database access technology
at your site. If you are installing an SPSS product for use in a networked computer
environment and you need to provide end users access to databases on remote servers,
the SPSS data access technology can make your job simpler. Many databases are
supported (see Table 4-1, Table 4-2, and Table 5-1). Note that these technologies are
closedthey can be used only with SPSS products. If you want to access databases
with other applications, you may require a more general solution.
Factors to Consider
Consider the following factors when choosing between SequeLink and
Connect ODBC:
! What type of database access does your SPSS product support?
! What type of database do you want to access?
! Is a system administrator or other database support person available?
! Has your site already invested in database vendor transport middleware?
! Where is the database running?
What type of database access does your SPSS product support? If your SPSS product
supports ODBC database access, you have a choice between SequeLink and Connect
6
Chapter 2
ODBC. If your SPSS product supports JDBC, you can use SequeLink or Connect
JDBC. Table 3-1 lists database access technology for SPSS products.
What type of database do you want to access? SequeLink is designed to retrieve data
from relational databases efficiently. If the database is not relational (for example,
Btrieve, dBASE, and Paradox) or your data are from an application that is not a
database (for example, Excel and Text), use Connect ODBC.
Is a system administrator or other database support person available? SequeLink has a
server component that must be installed, configured, and maintained by a system
administrator. If you do not have that type of support at your site, use Connect ODBC.
Has your site already invested in database vendor transport middleware? If your site
already has database middleware (for example, Oracle SQL*NET, Oracle Net8,
Informix I-Connect, or Sybase Open Client) deployed at your site, and you want to
continue to use it, use Connect ODBC. Connect ODBC uses your existing database
middleware.
Where is the database running? If your database is running on the same computer as the
SPSS product that is accessing and processing data, use Connect ODBC. If your
database is on a remote server, use SequeLink. SequeLink has an efficiency advantage
over Connect ODBC when the data have to be transported over a network.
Note: Connect JDBC is also available for Java developers who want to access data from
their applications.
Summary
In general it is best to use SequeLink when:
! Your data are stored in a relational database.
! You have a system or database administrator at your site.
! Your database resides on a remote server.
! You do not already have native database transport middleware.
Because SequeLink has a single, universal client and does not require database vendor
transport middleware, it is simpler to configure and administer than Connect ODBC.
In general it is best to use Connect ODBC when:
! Your data are stored in a non-relational (flat) database or in an application that is
7
Choosing a Data Ac cess Technology
! Your site already has native database transport middleware and you want to keep
using it.
! Your database resides on the same computer as the SPSS product that is accessing
Chapter
Deploying a
Data Access Technology
Once you decide which data access technology to deploy, you need to install and
configure the software. This chapter presents an overview of what gets installed and
configured, where, and by whom.
The administrator installs the SequeLink server on the database computer. The
SequeLink client must also be installed on the computer that is accessing the data
the computer where the SPSS server product is running.
Either the administrator or the end user can install the appropriate Connect ODBC
drivers. (Connect ODBC does not have a server component.) The drivers must be
installed on the computer that is accessing the datathe computer where the SPSS
server product is running, the end users desktop computer, or both.
9
Deploying a Data Ac cess Technology
Note: SequeLink has a JDBC client. This discussion does not apply to that client. For
more information about SequeLink JDBC editions, refer to the Merant documentation.
For instructions about how to install this documentation, see SequeLink
Documentation on p. 12.
configured on the remote SPSS server. This data source is created using the ODBC
driver (Connect ODBC or SequeLink ODBC client) that the administrator installed
on the server.
! Working in local analysis mode. The ODBC data source has to be installed and
configured on the end users desktop computer. This data source is created by the
end user using the ODBC driver (Connect ODBC or SequeLink ODBC client)
installed on his desktop computer, or it is imported from sources created by the
administrator.
! Working in both modes. If end users need to access data from the database in both
modes, the ODBC data source has to be installed and configured on both the remote
SPSS server and the desktop computer.
Software
The SPSS product CD contains all of the software that you need to deploy your chosen
data access technology. See the SequeLink Server and SPSS Data Access Pack
10
Chapter 3
Application
AnswerTree
AnswerTree Server
Clementine
DecisionTime
DecisionTime Server
SPSS for Windows
SPSS Server
SPSS Batch Facility
Architecture
desktop (if it does not
include AnswerTree
Server)
distributed
distributed
desktop (if it does not
include DecisionTime
Server)
distributed
desktop (if it does not
include SPSS Server)
distributed
NA
Uses
ODBC
ODBC
ODBC
ODBC
ODBC
ODBC
ODBC
ODBC
Chapter
Getting Started
with SequeLink
SequeLink is one of the database access technologies available with this SPSS
product. Another is Connect ODBC. For information about choosing the appropriate
database access technology, see Chapter 2.
and
! You want to configure the SPSS product to access and process data from a remote,
relational database
and
! You want to use SequeLink to access databases.
11
12
Chapter 4
data sources.
SequeLink Documentation
The SPSS data access technology software includes extensive SequeLink
documentation from Merant. This documentation is highly recommended for
SequeLink administrators.
13
Getting Started with SequeLink
UNIX. You can either follow the Windows instructions to install Acrobat Reader on a
Windows computer, or you can install a version of Acrobat Reader for UNIX (included
with this product). Select the file for your operating system from the /Acrobat/unix
directory on the product CD-ROM, uncompress the file, and refer to Instguid.txt for
installation instructions.
SequeLink Server
This section provides an overview of SequeLink Server installation and configuration.
14
Chapter 4
Table 4-1
SequeLink servers on Windows
Operating System
Database
Windows NT 4.0
Windows 2000
DB2 6.1
DB2 7.1
sl51db2.zip
Windows NT 4.0
Windows 2000
sl51inf.zip
Windows NT 4.0
Oracle 7.3.2+
Oracle 8i R1, R2, and R3
sl51ora.zip
Windows 2000
sl51ora.zip
Windows NT 4.0
Windows 2000
sl51sqlsrvr.zip
Windows NT 4.0
Windows 2000
sl51syb.zip
For more information, see the SequeLink Server and SPSS Data Access Pack
installation instructions in the documentation subdirectory on your product CD-ROM.
The SequeLink Getting Started guide in the SequeLink documentation is also highly
recommended. For instructions about how to install the SequeLink documentation, see
SequeLink Documentation on p. 12.
Installing SequeLink Server for Windows installs the following components:
! The SequeLink Server Administrator, which is software that manages instances of
SequeLink Server. Use it to configure and control SequeLink Server. You can start
and stop servers, view and change configuration settings, and monitor and control
run-time operations.
! A SequeLink Server that handles communications with your database.
! A Windows service that runs the SequeLink Server.
15
Getting Started with SequeLink
CD-ROM Location:
Merant/SLServer/
OS
Database
AIX 4.2.x
AIX 4.3.x
DB2 6.1
DB2 7.1
AIX 4.2.x
AIX 4.3.x
AIX 4.2.0
AIX 4.2.1
AIX 4.2.1+ AIX
4.3.x
Oracle 7.3.2+
Oracle 8.06+
Oracle 8i R2 (8.1.5)
Oracle 8i R2 (8.1.6)
Oracle 8i R3 (8.1.7)
aix/slora.tar
AIX 4.2.x
AIX 4.3.x
aix/slsyb.tar
Digital UNIX
(Alpha) 4.0
Oracle 7.3.2
Oracle 8.06+
Oracle 8i R2 (8.1.5)
Oracle 8i R2 (8.1.6)
digital_unix/slora.tar
HP-UX 11.0
DB2 6.1
DB2 7.1
hpux/sldb2.tar
HP-UX 11.0
HP-UX 11.0
Oracle 7.3.2+
Oracle 8.06+
Oracle 8i R2 (8.1.5)
Oracle 8i R2 (8.1.6)
Oracle 8i R3 (8.1.7)
hpux/slora.tar
HP-UX 10.20
HP-UX 11.0
hpux/slsyb.tar
aix/sldb2.tar
16
Chapter 4
OS
Database
CD-ROM Location:
Merant/SLServer/
Solaris 2.6
Solaris 7
Solaris 8
(SPARC)
solaris/sldb2.tar
Solaris 2.6
Solaris 7
Solaris 8
(SPARC)
solaris/slinf.tar
Solaris 2.6
Solaris 7
Solaris 8
(SPARC)
Oracle 7.3.2+
Oracle 8.06+
Oracle 8i R2 (8.1.5)
Oracle 8i R2 (8.1.6)
Oracle 8i R3 (8.1.7)
solaris/slora.tar
Solaris 2.6
Solaris 7
Solaris 8
(SPARC)
solaris/slsyb.tar
For more information, see the SequeLink Server and SPSS Data Access Pack
installation instructions in the documentation subdirectory on your product CD-ROM.
The SequeLink Getting Started guide in the SequeLink documentation is also highly
recommended. For instructions about how to install the SequeLink documentation, see
SequeLink Documentation on p. 12.
17
Getting Started with SequeLink
SequeLink clients are also available for UNIX. See the SPSS Data Access Pack UNIX
installation instructions in the documentation subdirectory on your product CD-ROM
for more information.
18
Chapter 4
administrator.
Users who are working in distributed mode, where the data are being accessed by a
server, need to know:
! The names and descriptions of SequeLink ODBC data sources that the
Chapter
This chapter presents an overview of how to deploy Connect ODBC at your site. It
describes the basics of installing and configuring Connect ODBC on Windows.
Connect ODBC is a comprehensive set of individual, database-specific drivers that
use ODBC to deliver connectivity to all major data stores, from relational databases
to flat-file data. Your site must already have database middleware installed (for
example, Oracle SQL*NET, Oracle Net8, Informix I-Connect, or Sybase Open
Client).
Connect ODBC is one of the database access technologies available with this SPSS
product. Another is SequeLink. For information about choosing the appropriate
database access technology, see Chapter 2.
data on a remote SPSS server (distributed analysis mode) instead of the end users
desktop computer (local analysis mode)
and
! You want to use Connect ODBC to access databases.
19
20
Chapter 5
Your end users should install the Connect ODBC drivers if:
! They want to use Connect ODBC with an SPSS distributed analysis product to
Where you install the Connect ODBC and create the data sources depends on what type
of SPSS product you are installing and how it will be used. (See Chapter 3.)
21
Getting Sta rted with Connect ODBC
Table 5-1
Connect ODBC Drivers
Driver
Supports Database(s)
Software Requirements
Btrieve
DB2 UBD
DB2 OS/390
None.
dBase
None.
FoxPro
Informix
Informix Dynamic
Server
Informix 9.x
None.
Oracle 7
Oracle SQL*Net.
(SQL *Net DLLs and ociw32.dll must
be on your path.)
Oracle 8
Paradox
Paradox 3.x, 4.x, 5.x. 7.x, 8.x, Borland database engine from Borland
and 9.0 tables
C++, Delphi Paradox 7, or Paradox 8.
(Idapi32.dll must be on your path or in
your Windows system directory.)
Progress
SQLBase
22
Chapter 5
Driver
Supports Database(s)
Software Requirements
SQL Server 6
SQL Server
SQL Server 6.5, 7.0, and 2000 Microsoft SQL Server Client software.
Sybase
Sybase ASE
None.
Text
None.
XML
Microsoft Access
A Microsoft Access driver is not included with Connect ODBC. If you need a
Microsoft Access driver, you can either install it from your Microsoft software, or you
can install it you can install it from your SPSS product CD-ROMsee the SPSS Data
Access Pack installation instructions in the documentation subdirectory on your
product CD-ROM for details.
Installation
Decide where you should install the Connect ODBC driver(s) and configure the ODBC
data sources. (See Chapter 3.)
Choose a custom installation, which allows you to install the database-specific
drivers that you select. After installation, drivers will appear in the Windows Control
Panel ODBC Data Source Administrator Drivers tab with names starting with SPSS
OEM. See the SPSS Data Access Pack installation instructions in the documentation
subdirectory on your product CD-ROM for details.
23
Getting Sta rted with Connect ODBC
mode should, on the computer that is running the SPSS products server, create and
configure ODBC data sources for the drivers that are installed.
! End users who want to use Connect ODBC drivers for local analysis mode or for
desktop products should, on their local desktop computer, create and configure
ODBC data sources for the drivers that are installed.
Windows. Use the Windows ODBC Data Source Administrator control panel to create
the data sources.
UNIX. An ODBC Data Source Administrator does not exist on UNIX. You create and
configure an ODBC data source by editing the odbc.ini file with a text editor. The
odbc.ini file is installed with the drivers. See the Configuring Drivers and Data
Sources section in the Installation on UNIX chapter of the Connect ODBC Installation
Instructions for detailed instructions. (The Connect ODBC Installation Instructions
can be accessed by opening /Merant/Books/ConnectODBC/books.pdf on your product
CD-ROM.)