Vous êtes sur la page 1sur 10

SPSS Data Access Pack 2.

0
Installation Instructions for UNIX

Before You Install


The SPSS Data Access Pack allows you to install any or all of the following
components:
! Connect ODBC drivers
! SequeLink ODBC client
! SPSS ODBC driver
! Online documentation for Connect ODBC and SequeLink in Adobe Acrobat

(PDF) format
! Acrobat Reader

These components allow you to retrieve data from databases in a network


environment. How you proceed depends on whether or not you have an SPSS system
administrator.
If you have an SPSS system administrator. Contact your SPSS system administrator for
information about how to configure your desktop computer with the SPSS Data
Access Pack. In some cases you will not need to install anything. If your administrator
tells you to run this setup procedure, follow his or her instructions. If you currently
have SPSS Data Access Pack drivers installed, do not reinstall them unless directed to
do so by your administrator.

2
SPSS Data Access Pa ck 2.0 Installation Instructions for UNIX

If you do not have an SPSS system administrator. If there is no system administrator at


your site, or if you are not using this SPSS product in a network environment, you can
install ODBC drivers by running this setup.
If you are an SPSS system administrator. Decide which database access technology you
want to use at your site. Then decide which client software to install and where to
install it. For more information about available database access technologies, refer to
Getting Started with SPSS Data Access Technology (in the documentation directory on
the CD-ROM).
If you have installed an earlier version of the SPSS Data Access Pack. See the Whats
New section in this document for information about what is new in this version and why
you might want to upgrade.

Note: If you are a Java developer and want to access data from Java applets or
applications, consider using Connect JDBC or the SequeLink JDBC Client, which are
included in the SPSS Data Access Pack. For more information, see the SPSS Data
Access Pack JDBC Installation Instructions (in the documentation directory on the
CD-ROM).

Whats New
If you have an SPSS administrator at your site, do not upgrade unless you are directed
to do so.
Connect ODBC News

All Connect ODBC drivers are now version 3.7, service pack 1. The earlier SPSS Data
Access Pack had version 3.6 drivers. The new version contains bug fixes and support
for additional database versions. You do not need to install it unless you are
experiencing a bug or need a driver that supports a recent database release.
Connect JDBC is now included with the SPSS Data Access Pack, in addition to the
SequeLink JDBC client. If you are a developer and you want more information, see the
SPSS Data Access Pack JDBC Installation Instructions (in the documentation
directory on the CD-ROM).

3
SPSS Data Access Pa ck 2.0 Installation Instructions for UNIX

SequeLink News

Clients for SequeLink Server 5.1 are now included. The previous version had 5.0 and
4.5 clients. You only need to install a SequeLink 5.1 client if you are using SequeLink
Server 5.1 at your site. SequeLink JDBC client installation instructions are in the SPSS
Data Access Pack JDBC Installation Instructions (in the documentation directory on
the CD-ROM).
Note: Installing a driver or client from this SPSS Data Access Pack does not uninstall
earlier drivers. Instead it makes the newly-installed software available to you. The
newly-installed software must be manually configured; the configuration of your
earlier driver is not transferred. If your earlier driver is working properly and meets
your needs, it is best not to upgrade to a new version. Only upgrade when you require
support for a database that was previously unsupported or when you require an
enhancement.

What You Need to Run Connect ODBC


The supported databases are listed, by operating system, in the tables below. The
drivers support ODBC specification 3.52, as well as ODBC Core, Level 1, and Level 2
functions.
Table 1
AIX 4.2.1 and 4.3.1 database support

Driver

Database Version

Comments

DB2
DB2
dBASE
dBASE
FoxPro
FoxPro
Informix
Informix
Informix
Informix
Informix

UDB 6.1
UDB 7.1
IV
V
3.0
6.0
7.x
9.x
2000
Dynamic Server 9.x
Dynamic Server 2000

Supports 6.0 at the 3.0 functionality level


Via Informix Connect
Via Informix Connect
Via Informix Connect
Supports native wire protocol
Supports native wire protocol

4
SPSS Data Access Pa ck 2.0 Installation Instructions for UNIX

Driver

Microsoft
SQL Server
Microsoft
SQL Server
Microsoft
SQL Server
Oracle
Oracle
Oracle
Oracle
Oracle
Oracle
Text

Database Version

Comments

6.5
7.0
2000
7.1
7.2
7.3
7.3
8.0.5+
8i
ASCII text files

SQL Server 7.0 supports naive wire protocol


Supports SQL Server 2000 at the 7.0 functionality
level
Functionality via SQL*Net 2.x
Functionality via SQL*Net 2.x
Functionality via SQL*Net 2.x
Functionality via NET 8 8.04+
Functionality via NET 8 8.04+
Functionality via NET 8 8.04+

Table 2
HP-UX 10.20 database support (aCC compiled applications)

Driver

Database Version

Comments

DB2
DB2
DB2
DB2
dBASE
dBASE
FoxPro
FoxPro
Informix
Informix
Informix
Informix
Informix
Microsoft
SQL Server
Microsoft
SQL Server
Microsoft
SQL Server
Oracle

MVS 5.1
OS/390
UDB 6.1
UDB 7.1
IV
V
3.0
6.0
7.x
9.x
2000
Dynamic Server 9.x
Dynamic Server 2000

Supports 6.0 at the 3.0 functionality level


Via Informix Connect
Via Informix Connect
Via Informix Connect
Supports native wire protocol
Supports native wire protocol

6.5
7.0
2000
7.1

SQL Server 7.0 supports naive wire protocol


Supports SQL Server 2000 at the 7.0 functionality
level
Functionality via SQL*Net 2.x

5
SPSS Data Access Pa ck 2.0 Installation Instructions for UNIX

Driver

Database Version

Comments

Oracle
Oracle
Oracle
Oracle
Oracle
Sybase
Sybase
Sybase
Sybase
Text

7.2
7.3
7.3
8.0.5+
8i
System 10
System 11
Adaptive Server 11.x
Adaptive Server 12.0
ASCII text files

Functionality via SQL*Net 2.x


Functionality via SQL*Net 2.x
Functionality via NET 8 8.04+
Functionality via NET 8 8.04+
Functionality via NET 8 8.04+

Table 3
HP-UX 11.0 database support (aCC compiled applications)

Driver

Database Version

DB2
DB2
dBASE
dBASE
Oracle
Oracle
Oracle
Text

UDB 6.1
UDB 7.1
IV
V
7.3
8.0.5+
8i
ASCII text files

Comments

Functionality via NET 8 8.04+


Functionality via NET 8 8.04+
Functionality via NET 8 8.04+

Table 4
Solaris (SPARC) 7.0 and 8.0 database support

Driver

Database Version

Comments

DB2
DB2
dBASE
dBASE
FoxPro
FoxPro
Informix
Informix
Informix
Informix
Informix

MVS 5.1
OS/390
IV
V
3.0
6.0
7.x
9.x
2000
Dynamic Server 9.x
Dynamic Server 2000

Supports 6.0 at the 3.0 functionality level


Via Informix Connect
Via Informix Connect
Via Informix Connect
Supports native wire protocol
Supports native wire protocol

6
SPSS Data Access Pa ck 2.0 Installation Instructions for UNIX

Driver

Microsoft
SQL Server
Microsoft
SQL Server
Microsoft
SQL Server
Oracle
Oracle
Oracle
Oracle
Oracle
Oracle
Oracle
Sybase ASE
Sybase ASE
Sybase ASE
Sybase ASE
Text

Database Version

Comments

6.5
7.0
2000
7.1
7.2
7.3
7.3
8.0.5+
8i
8.1.7
System 10
System 11
Adaptive Server 11.x
Adaptive Server 12.0
ASCII text files

SQL Server 7.0 supports naive wire protocol


Supports SQL Server 2000 at the 7.0 functionality
level
Functionality via SQL*Net 2.x
Functionality via SQL*Net 2.x
Functionality via SQL*Net 2.x
Functionality via NET 8 8.04+
Functionality via NET 8 8.04+
Functionality via NET 8 8.04+
Solaris 8.0 only

What You Need to Run the SequeLink ODBC Client


No additional hardware or software is required to run the SequeLink 5.1 ODBC client
on UNIX operating systems.

Installing the SPSS Data Access Pack


Installing Connect ODBC Drivers
To install a Connect ODBC driver, first locate the compressed file and then install it.
Locate the Driver

Use following table to locate the Connect ODBC driver TAR file for your operating
system:

7
SPSS Data Access Pa ck 2.0 Installation Instructions for UNIX

Table 5
Connect ODBC Drivers Operating Systems and File Locations

Operating System

CD-ROM File Location (in /merant/client/unix/)

AIX
HP-UX 10.2
HP-UX 11.0
Solaris

aix/odbc/aix.tar.Z
hpux/odbc/hp1020.tar.Z
hpux/odbc/hp11.tar.Z
solaris/odbc/sol.tar.Z

Install the Driver


E Copy or download the TAR file for your operating system from the CD to the UNIX

computer. Put it in the directory where you want to install the driver.
E Uncompress the file. For example, uncompress sol.tar.Z. This uncompresses a TAR

file.
E Extract the TAR file. For example, tar -xvf sol.tar. This extracts all files required to run

the ODBC drivers.


E Configure the ODBC environment. From the directory where you extracted the files,

run ./setodbcpath.sh. This will set the ODBC home directory to the current directory.

Installing the SequeLink ODBC Client


To install the SequeLink ODBC client, first locate the compressed file and then install
it.
Locate the Compressed File

Use following table to locate the SequeLink ODBC client TAR file for your operating
system:

8
SPSS Data Access Pa ck 2.0 Installation Instructions for UNIX

Table 6
SequeLink ODBC Client Operating Systems and File Locations

Operating System

CD-ROM File Location (in /merant/client/unix/)

AIX
HP-UX 10.20
HP-UX 11.00
Solaris

aix/sequelnk/slclient.tar.Z
hpux/sequelnk/hpux_10.20/slclient.tar.Z
hpux/sequelnk/hpux_11/slclient.tar.Z
solaris/sequelnk/slclient.tar.Z

Install the Client


E Copy the file for your operating system from the CD to the UNIX computer. Put it in

the directory where you want to install the client.


E Uncompress the file. For example, uncompress slclient.tar.Z. This uncompresses a

TAR file.
E Extract the TAR file. For example, tar xvf slclient.tar. This extracts all files required to

run the client.


E Configure the ODBC environment. From the directory where you extracted the files,

run ./setodbcpath.sh. This will set the ODBC home directory to the current directory.

Installing Acrobat Reader


E Insert your product CD into the CD-ROM drive.
E Navigate to the /Acrobat/unix directory.
E Uncompress the file for your operating system.
E Refer to Instguid.txt for installation instructions.

9
SPSS Data Access Pa ck 2.0 Installation Instructions for UNIX

After You Install


After you install Connect ODBC drivers or the SequeLink client, additional steps are
required before you can use them to connect to your database. How you proceed
depends on whether or not you have an SPSS system administrator.
If you are an SPSS system administrator. Create and configure end user connections
according to the database access technology that you are using at your site.
If you have an SPSS system administrator. Get connection instructions from your SPSS
system administrator.
If you do not have an SPSS system administrator. Create and configure ODBC data
sources for the Connect ODBC driver(s) or SequeLink client that you installed.

Connecting to Your Database with Connect ODBC


If you are an SPSS system administrator, create and configure an ODBC data source.
An ODBC 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 driver files. See the Configuring Drivers and Data Sources section in the
Installation on UNIX chapter of the Merant Connect ODBC Installation Instructions
for detailed instructions.
From your SPSS product CD-ROM. If your SPSS product includes a single CD-ROM,
access the Merant Connect ODBC Installation Instructions by opening
/Merant/Books/ConnectODBC/books.pdf.
From the SPSS Data Access Pack CD-ROM. If your SPSS product includes a separate
SPSS Data Access Pack CD-ROM, access the Merant Connect ODBC Installation
Instructions by opening /Documentation/Merant/Odbcig/odbcig.pdf.

If you have an SPSS system administrator, ask him or her about configuring Connect
ODBC.

10
SPSS Data Acces s Pack 2.0 Installation Ins truc tions for UNIX

Connecting to Your Database with SequeLink ODBC Client


If you are an SPSS system administrator, see Getting Started with SPSS Data Access
Technology (in the documentation directory on the CD-ROM) and the Merant
SequeLink documentation. The SequeLink client requires an ODBC data source;
however no ODBC Administrator exists on UNIX. Basically, 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 SequeLink ODBC client in the root of your SequeLink ODBC client
directory. See the Merant SequeLink Administrators Guide, Configuring ODBC Client
Data Sources on UNIX, for detailed information about editing your odbc.ini file and
setting important environment variables.
From your SPSS product CD-ROM. If your SPSS product includes a single CD-ROM,
access the Merant SequeLink Administrators Guide by opening
/Merant/Books/Sequelnk/books.pdf.
From the SPSS Data Access Pack CD-ROM. If your SPSS product includes a separate
SPSS Data Access Pack CD-ROM, access the Merant SequeLink Administrators
Guide by opening Documentation/Merant/slnk/admin/admin.pdf.

If you have an SPSS system administrator, ask him or her about configuring SequeLink
client.

Updating Your Installation


You can install additional components at any time by repeating the setup process.
Note: Installing a newer version of a driver or client from SPSS Data Access Pack does
not uninstall earlier drivers. Instead it makes the newly-installed software available to
you. The newly-installed software must be manually configured; the configuration of
your earlier driver is not transferred. If your earlier driver is working properly and meet
your needs, it is best not to upgrade to a new version. Only update when you require
support for a database that was previously unsupported, or when you require an
enhancement.