Professional Documents
Culture Documents
51
DataDirect ®
®
Installation Supplement
No part of this publication, with the exception of the software product user
documentation contained on a CD-ROM, may be copied, photocopied,
reproduced, transmitted, transcribed, or reduced to any electronic medium or
machine-readable form without prior written consent of MERANT.
MERANT
701 East Middlefield Road
Mountain View, California 94043
3
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
What Is DataDirect SequeLink? . . . . . . . . . . . . . . . . . . . . . . . . 5
Using This Supplement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Other Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Conventions Used in This Supplement . . . . . . . . . . . . . . . . . . . 9
Typographical Conventions . . . . . . . . . . . . . . . . . . . . . . . . . 9
Mouse Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Keyboard Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Preface
Other Documentation
SequeLink ODBC Edition:
■ SequeLink ODBC Edition Client Installation Guide
■ SequeLink Server Installation Guide
■ SequeLink ODBC Driver Reference for Windows 3.1x
■ SequeLink ODBC Driver Reference for Windows 9x,
Windows NT, UNIX, and Macintosh
■ SequeLink Administrator’s Guide
■ SequeLink Error Codes and Messages Reference
Using the SequeLink ODBC Drivers SequeLink ODBC Driver Reference for Windows 3.1x
SequeLink ODBC Driver Reference for Windows 9x,
Windows NT, UNIX, and Macintosh
Typographical Conventions
This supplement uses the following typographical conventions:
Convention Explanation
italics Introduces new terms with which you may not be
familiar, and is used occasionally for emphasis.
bold Emphasizes important information. Also indicates
button, menu, and icon names on which you can
act. For example, click Next.
UPPERCASE Indicates the name of a file. For operating
environments that use case-sensitive filenames, the
correct capitalization is used in information specific
to those environments.
Also indicates keys or key combinations that you
can use. For example, press the ENTER key.
monospace Indicates syntax examples, values that you specify,
or results that you receive.
monospaced Indicates names that are placeholders for values
italics that you specify. For example, filename.
forward slash / Separates menus and their associated commands.
For example, Select File / Copy means that you
should select Copy from the File menu.
The slash also separates directory levels when
specifying locations under UNIX.
vertical rule | Indicates an “OR” separator used to delineate
items.
Convention Explanation
brackets [ ] Indicates optional items. For example, in the
following statement: SELECT [DISTINCT], DISTINCT
is an optional keyword.
Also indicates sections of the Windows Registry.
braces { } Indicates that you must select one item. For
example, {yes | no} means that you must specify
either yes or no.
ellipsis . . . Indicates that the immediately preceding item can
be repeated any number of times in succession. An
ellipsis following a closing bracket indicates that all
information in that unit can be repeated.
Mouse Conventions
This action… Means to…
Click Point to an object with the mouse pointer and
momentarily press the left mouse button.
Double-click Press the left mouse button twice.
Right-click Momentarily press the right mouse button.
Drag Press and hold the left mouse button while
dragging item(s) to another part of the screen.
SHIFT+Click Click an object to select it; then, press and hold
the SHIFT key. Click another object to select the
intervening series of objects.
CTRL+Click Press and hold the CTRL key; then, click a
selection. This lets you select or deselect any
combination of objects.
Keyboard Conventions
Select menu items by using the mouse or pressing ALT+ the key
letter of the menu name or item.
Internet
Telephone
Australia 1 800 335 664 or 8:30-5:30 p.m. Local Melbourne Time (LMT)
9816 9977 for
Melbourne Metro
Belgium 0800 724 61 9:00-6:30 p.m. CET
France 0800 91 56 07 9:00-6:30 p.m. CET
When you contact us, make sure that you can provide the
following information:
This chapter describes the tasks you should perform before you
install SequeLink ODBC Edition Client in a Red Hat Linux
environment.
mkdir /tmp/sqlnk
4 On the system from which you are transferring the files,
change to the directory on the DataDirect CD that applies to
the Red Hat Linux system and client:
sequelnk/linux/client
5 From this system, initiate the file transfer of the file called
slclient.tar in binary format. Transfer the file to the
temporary directory you created in Step 3.
How you transfer files from another system to your Red Hat
Linux workstation depends on your TCP/IP product and your
system’s operating system. For more information about
cd /tmp/sqlnk
2 Type the following command:
./unixpi.ksh
The software detects the operating system in use:
------------------------------------------------
1. SequeLink ODBC Driver on Linux
2. Quit Product Setup
------------------------------------------------
Select one of the options above.
------------------------------------------------
Enter your selection: [1]
4 Press ENTER to continue the installation. The Product
Registration Fields appear.
5 Enter your Name, Company Name, Serial Number, and IPE Key
to register your SequeLink ODBC Edition Client software. You
can find them on the Product Registration Information card
that is shipped with the product.
7 Enter the fully qualified path of the target directory for the
SequeLink ODBC Edition Client software. If this directory does
not exist, it is created for you.
./unixpi.ksh
------------------------------------------------
1. SequeLink ODBC Driver on Linux
2. Quit Product Setup
------------------------------------------------
Select one of the options above.
------------------------------------------------
Enter your selection: [1]
5 Press ENTER to continue the installation. The Product
Registration Fields appear.
6 Enter your Name, Company Name, Serial Number, and IPE Key
to register your SequeLink ODBC Edition Client software. You
can find them on the Product Registration Information card
that is shipped with the product.
8 Enter the fully qualified path of the target directory for the
SequeLink ODBC Edition Client software. If this directory does
not exist, it is created for you.
. .sqlnk.sh
This script can also be obtained from the user’s .profile script.
source .sqlnk.csh
This script can also be obtained from the user’s .login script.
■ ODBC data source. This is the data source you specify from
within your application when you connect to a database.
DSN=data_source_name[;attribute=value[;attribute=value]...]
For example, a connection string for SequeLink may look like this:
DSN=Accounting;DB=EMP;UID=JOHN;PWD=XYZZY
Table 3-1 on page 27 lists the long and short names and provides
a description of each attribute. The defaults listed in Table 3-1 are
initial defaults that apply when no value is specified in the
connection string or in the data source definition. If you specified
a value for the attribute when configuring the data source, that
value is your default. In Table 3-1, short names are shown
enclosed within parentheses ( ).
Attribute Description
DataSourceName (DSN) A string that identifies an ODBC data source configuration.
Examples include “Accounting” or “SequeLink to Informix
Data.”
LogonID (UID) The host or database user name, depending on the setting of
UID/PWD Mapping.
Password (PWD) The host or database password, depending on the setting of
UID/PWD Mapping.
SqlnkDSN (SDSN) A SequeLink data source name. See “Hierarchy of Connection
Attributes” in the SequeLink ODBC Driver Reference for
more information about how the SequeLink ODBC Driver
interacts with SequeLink data sources.
Database (DB) The name of the database to which you want to connect.
UidPwdMapping (UPM) UidPwdMapping={0|1}. This attribute determines whether
the UID and PWD are mapped to the host machine account
or database account. Specify 0 (the default) to map the user
name (UID) and the password (PWD) to the host machine
user account. If your database requires user authentication,
you must specify the Database User Name and the Database
Password in the SequeLink CAT settings. Specify 1 to map the
user name and password to the database account. If your
SequeLink Server service is configured for host
authentication, you must specify the Host User Name and
Host Password in the SequeLink CAT settings.
PreFetchRows (PFR) The number of rows the driver will attempt to retrieve when
fetching from the server. Fetching multiple rows can improve
performance by reducing the number of network roundtrips.
The default is 30.
EnableScrollableCursors EnableScrollableCursors={0|1}. Enables scrollable cursors for
(ESC) this data source. Static cursors are supported for all
databases. In addition, keyset-driven cursors are supported
for Oracle and INFORMIX databases. Specify 1 to enable
scrollable cursors. The default is 0.
Attribute Description
AllowBatchStatements(ABS) AllowBatchStatements={0|1}. This attribute determines
whether the SequeLink data source should accept batch SQL
statements. When set to 0 (the default), the SequeLink data
source does not accept batch SQL statements. Semicolons are
considered part of a single SQL statement. Specify 1 to tell
the SequeLink data source accept batch SQL statements.
EnableWarnings (EW) EnableWarnings={0|1}. This attribute determines whether
SequeLink returns warnings from the database. When set to
0 (the default), SequeLink does not return warnings
generated by the DBMS. Specify 1 to return warnings.
DataDictionary (DD) DataDictionary={(Default)|DBMS|SQLNK|HYBRID}. This
attribute determines the type of data dictionary to be used.
Specify:
■ (Default) to use the default setting of SequeLink
Server
Attribute Description
NewPassword (NPWD) This attribute applies to connections to DB2 and Oracle on
OS/390 and is ignored otherwise. When a password is expired
and NewPassword is not specified (the default), the driver
will perform one of the following actions:
■ If the DriverCompletion parameter of the
SQLDriverConnect call is a value other than
SQL_DRIVER_NOPROMPT, the driver will prompt for a new
password.
Attribute Description
ForcePasswordChange This attribute applies to connections to DB2 and Oracle on
(FPWDC) OS/390 and is ignored otherwise. It allows you to change the
password on the host before logging on. The value of the
new password is taken from the NewPassword (NPWD)
connect option:
■ The default value is 0, which means no forced password
change.
Threading
The ODBC specification requires that all ODBC drivers must be
thread-safe; that is, they must not fail when database requests
are made on separate threads.
Platform Capability
Red Hat Linux Thread per connection
Windows 9x and Windows NT Thread per connection
AIX reentrant Thread per connection
AIX non-reentrant Not thread-safe
HP-UX 10 aCC Thread per connection using
the DCE threading model
Platform Capability
HP-UX 11 aCC Thread per connection using
the HP-UX native threading
model (p-threads)
HP-UX cFront Not thread-safe
Solaris Thread per connection
Macintosh Not thread-safe
Additional Information
For additional information on the following topics, refer to the
SequeLink ODBC Driver Reference:
■ Data types
■ Isolation and lock levels supported
■ ODBC conformance levels
■ Connection and statements supported
■ Hierarchy of connection attributes
■ Using SequeLink Shadow Data Dictionaries
■ Error messages