Client SDK Informix Guide
Client SDK Informix Guide
Version 3.0
G229-6401-01
IBM Informix
Version 3.0
G229-6401-01
Note:
Before using this information and the product it supports, read the information in “Notices” on page D-1.
Chapter 1. Preparing to Install Client SDK and IBM Informix Connect on UNIX and
Linux Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
In This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
About Installing Client SDK and IBM Informix Connect . . . . . . . . . . . . . . . . . . . . 1-1
Determine Location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Check Online Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Determine Installation Order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Prepare the Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
Creating the Group informix and User informix . . . . . . . . . . . . . . . . . . . . . . 1-4
Configure Your Database Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
Load Product Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
Part 3. Appendixes
Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-1
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-3
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . X-1
Contents v
vi IBM Informix Client Products Installation Guide
Introduction
In This Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
About This Publication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Client SDK Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Software Dependencies (Linux) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Documentation Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Typographical Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Feature, Product, and Platform Markup . . . . . . . . . . . . . . . . . . . . . . . . . x
Example Code Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x
Additional Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Compliance with Industry Standards . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Syntax Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
How to Read a Command-Line Syntax Diagram . . . . . . . . . . . . . . . . . . . . . . xii
Keywords and Punctuation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Identifiers and Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
IBM Welcomes Your Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
In This Introduction
This introduction provides an overview of the information in this publication and
describes the conventions that it uses.
For more information, see the IBM Informix Object Interface for
C++ Programmer's Guide.
IBM Informix GLS An interface that allows IBM Informix products to use different
locales that have defined conventions for a particular language,
culture, or code set.
Windows Only
Client SDK and IBM Informix Connect packages include the Setnet32 utility for
configuring client products. Each package might include online help, example
programs, and support programs
End of Windows Only
Documentation Conventions
This section describes the following conventions, which are used in the product
documentation for IBM Informix Dynamic Server:
v Typographical conventions
v Feature, product, and platform conventions
v Syntax diagrams
v Command-line conventions
v Example code conventions
Typographical Conventions
This publication uses the following conventions to introduce new terms, illustrate
screen displays, describe command syntax, and so forth.
Convention Meaning
KEYWORD Keywords of SQL, SPL, and some other programming languages appear
in uppercase letters in a serif font.
italics Within text, new terms and emphasized words appear in italics. Within
syntax and code examples, variable values that you are to specify
appear in italics.
boldface Names of program entities (such as classes, events, and tables),
environment variables, file names, path names, and interface elements
(such as icons, menu items, and buttons) appear in boldface.
monospace Information that the product displays and information that you enter
appear in a monospace typeface.
KEYSTROKE Keys that you are to press appear in uppercase letters in a sans serif
font.
Introduction ix
Convention Meaning
> This symbol indicates a menu item. For example, “Choose Tools >
Options” means choose the Options item from the Tools menu.
Dynamic Server
Windows Only
This markup can apply to one or more paragraphs within a section. When an
entire section applies to a particular product or platform, this is noted as part of
the heading text, for example:
Table Sorting (Windows)
If only SQL statements are listed in the example, they are not delimited by
semicolons. For instance, you might see the code in the following example:
CONNECT TO stores_demo
...
COMMIT WORK
DISCONNECT CURRENT
To use this SQL code for a specific product, you must apply the syntax rules for
that product. For example, if you are using DB–Access, you must delimit multiple
statements with semicolons. If you are using an SQL API, you must use EXEC SQL
at the start of each statement and a semicolon (or other appropriate delimiter) at
the end of the statement.
Tip: Ellipsis points in a code example indicate that more code would be added in
a full application, but it is not necessary to show it to describe the concept
being discussed.
For additional documentation about IBM Informix Dynamic Server and related
products, including release notes, machine notes, and documentation notes, go to
the online product library page at http://www.ibm.com/software/data/informix/
pubs/library/. Alternatively, you can access or install the product documentation
from the Quick Start CD that is shipped with the product.
Syntax Diagrams
This guide uses syntax diagrams built with the following components to describe
the syntax for statements and all commands other than system-level commands.
Table 2. Syntax Diagram Components
Component represented in PDF Component represented in HTML Meaning
>>---------------------- Statement begins.
Introduction xi
Table 2. Syntax Diagram Components (continued)
Component represented in PDF Component represented in HTML Meaning
.---NEXT---------. The values below the main
----+----------------+--- line are optional, one of
+---PRIOR--------+ which you might specify. If
’---PREVIOUS-----’ you do not specify an item,
the value above the line will
be used as the default.
.-------,-----------. Optional items. Several items
V | are allowed; a comma must
---+-----------------+--- precede each repetition.
+---index_name---+
’---table_name---’
-t table
(1)
Setting the Run Mode
-S server -T target
Notes:
1 See page Z-1
The second line in this diagram has a segment named “Setting the Run Mode,”
which according to the diagram footnote, is on page Z-1. If this was an actual
cross-reference, you would find this segment in on the first page of Appendix Z.
Instead, this segment is shown in the following segment diagram. Notice that the
diagram uses segment start and end components.
l
c
-f
d u n N
p
a
To see how to construct a command correctly, start at the top left of the main
diagram. Follow the diagram to the right, including the elements that you want.
The elements in this diagram are case sensitive because they illustrate utility
syntax. Other types of syntax, such as SQL, are not case sensitive.
You must also use any punctuation in your statements and commands exactly as
shown in the syntax diagrams.
The following syntax diagram uses variables to illustrate the general form of a
simple SELECT statement.
Introduction xiii
SELECT column_name FROM table_name
When you write a SELECT statement of this form, you replace the variables
column_name and table_name with the name of a specific column and table.
This e-mail address is reserved for reporting errors and omissions in our
documentation. For immediate help with a technical problem, contact IBM
Technical Support. For instructions, see the IBM Informix Technical Support
website at http://www.ibm.com/planetwide/.
Use the following methods to install IBM Informix Client Software Developer’s Kit
(Client SDK), Version 3.0 and IBM Informix Connect (IConnect), Version 3.0 on
UNIX or Linux :
v installation application
v command line
v Dynamic Server installation program
v RPM Package Manager (Linux only)
.
Also check individual product manuals for installation and configuration tasks that
this publication does not cover.
Install IBM Informix products only as licensed by IBM. You must not transfer
software from one computer to another or to another portion of your network
without reregistration and the written consent of IBM.
Determine Location
Take note of media location, install location, and (optionally) Java location.
Media Location
The directory where the media files reside is called $MEDIADIR. This can be on a
disk device, such as a CD, or a directory on a fileserver where the downloaded
source file is uncompressed.
You can install Client SDK or IBM Informix Connect on the computer on which
your applications run.
To preserve product files of earlier versions, create separate directories for each
version of your IBM Informix products.
Attention: The INFORMIXDIR path, including path separators, should not exceed
200 characters. In addition, do not attempt to install a 32-bit version
and a 64-bit version of Client SDK in the same INFORMIXDIR
directory.
If you are installing client products and server products in the same
$INFORMIXDIR directory, use the following table as a guide to the correct order.
Table 1-1. Order for Installing Client Products and Server Products in the Same Directory
Database Versions of Client SDK and IBM Informix Connect
Server
Versions 2.7 and prior 2.8x 2.9x 3.0x
5.x Database server Database server Database server Database server
first first first first
7.2x Database server Database server Database server Database server
first first first first
7.3x Database server Database server Database server Database server
first first first first
8.5x Client products Client products Client products Client products
first first first first
9.2x Database server Database server Database server Database server
first first first first
9.3x Database server Database server Database server Database server
first first first first
The following table describes database server versions and their corresponding
names.
Table 1-2. Database Server Version Numbers and Names
Database Server Database Server Name
Version Number
5.x IBM Informix OnLine and IBM Informix SE
7.2x IBM Informix OnLine Dynamic Server and IBM Informix SE
7.3x IBM Informix Dynamic Server
8.5x IBM Informix Extended Parallel Server (XPS)
9.1 through 9.13 IBM Informix Universal Server
9.14 IBM Informix Dynamic Server with Universal Data Option
9.2, 9.3, 9.4, 10.0, IBM Informix Dynamic Server
11.1
You might encounter problems if you install an older product after you install a
new product. For example, if you install an older version of the finderr utility, the
older version overwrites the newer version and you will not have the most current
listing of error message text and corrective action. If you encounter problems with
the finderr utility, see IBM Informix Error Messages in the IBM Informix Library at
http://www.ibm.com/software/data/informix/pubs/library/.
Prior to the Client SDK, Version 2.01 release, clients and servers shared common
message files. In more recent versions, the common message files for the client
have new names. For more information about how to rename common message
files, see the Client SDK release notes.
If you install more than one IBM Informix product, complete all installation
procedures for one product before you start to install the next product. Do not load
the files from another IBM Informix product onto your computer until you
complete the current installation.
Attention: If you want to use IBM Informix ODBC Driver with an existing DSN
that uses IBM Informix CLI driver or INTERSOLV DataDirect ODBC
Driver, see the information on the DSN Migration Utility in the release
notes for IBM Informix ODBC Driver.
Chapter 1. Preparing to Install Client SDK and IBM Informix Connect on UNIX and Linux Systems 1-3
Prepare the Environment
Prepare the environment for every shell within which you install or use IBM
Informix client products.
To find out if you need to apply patches to your computer, see the machine notes.
For more information, see your IBM Informix Administrator’s Guide and database
server installation guide.
For information about loading vendor product files, see individual vendor
documentation.
Chapter 1. Preparing to Install Client SDK and IBM Informix Connect on UNIX and Linux Systems 1-5
1-6 IBM Informix Client Products Installation Guide
Chapter 2. Installing Client SDK on UNIX and Linux Systems
In This Chapter
This chapter provides information to guide your installation of Client SDK and
IConnect on UNIX and Linux systems.
Installation Methods
When you install client products on UNIX and Linux systems, you have several
options.
Depending on the installation method you choose, you need differing amounts of
disk space, as describe in the following table.
Table 2-1. Installation Medium and Disk Space Required
Installation Medium and Method Products and Amount of Disk Space Required
Attention: Ensure that you have 170 MB free space available in your /tmp
directory before installation if you are using the JRE that is part of the
installation application. If you are using a JRE already present on the
host computer, you need less than 1 MB. This space requirement is
included in the total disk space requirements listed in the above table.
For information on this installation method, see the IBM Informix Dynamic Server
Installation Guide for UNIX and Linux or the Quick Beginnings for IBM Informix
Dynamic Server Express Edition.
Installation Syntax
The following syntax diagram illustrates the installation options.
installconn
installclientsdk -gui -log logfilename
-javahome Java dir -tempdir temp path -is:freediskblocks
-is:nospacecheck
(1)
-help
Notes:
1 No other options are valid with this option.
Note: When installing in console mode, especially over a network, you might have
to wait a few moments for the files to extract.
Note: When installing in GUI mode, especially over a network, you might have to
wait a few moments for the files to extract.
-log logfilename -javahome Java dir -tempdir temp path
-is:freediskblocks (1)
-is:nospacecheck -help
Notes:
1 No other options are valid with this option.
Table 2-5.
Element Purpose Restrictions
optionfile Specifies file name of *.ini file to preset installation None
properties
Java dir Specifies the JRE on the host computer to use during The JRE must
installation instead of the JRE provided by the be version 1.3.2
installation program or higher.
logfilename Specifies a non-default log filename None
temp path Specifies path to temporary directory. If you receive an None
error during file extraction that there is not enough
space in the /tmp directory, set the -tempdir option to a
different temporary directory.
To perform a silent installation of IConnect, you can modify the values in the
conn.ini file or accept default values.
custom
-P csdk.active= true Indicates whether product or features is
selected for installation.
false (default)
Only either IConnect or the full Client
SDK can be installed at once. The cannot
both be installed into the same location.
-P iconnect.active= true (default) Indicates whether product or features is
selected for installation.
false
Only either IConnect or the full Client
SDK can be installed at once.
-SP CSDK/UNIX/csdk.jar true (default) Indicates whether product or features is
clientfeature.active= selected for installation.
false
Only applicable for a Client SDK
installation with the Custom option.
-P messagesfeature.active= true (default) Indicates whether the error messages
feature is selected for installation
false
-P glsfeature.active= true (default) Indicates whether the error GLS feature is
selected for installation
false
-G licenseAccepted true Accepts license. Value of false stops the
false installation process. No value is needed if
you accept the license at the command
line.
Extraction Syntax
installconn -legacy
installclientsdk -gui -log logfilename
-javahome Java dir -tempdir temp path -is:freediskblocks
-is:nospacecheck
Use this option if you want to install the products in a different location or
redistribute it.
Note: This instruction differs from the instruction for the pre-2.90 command-line
installation, which you had to run as the informix user.
-P legacy.active=true -p logFile logfilename
-swing
-is:freediskblocks -silent -acceptlicense=yes
-is:nospacecheck -options optionfile
Table 2-10.
Element Purpose Restrictions
relative_directory Specifies the path to the specified .jar file. If you None
execute the command from the directory where
the .jar file resides, do not specify a path.
logfile Specifies a non-default log filename None
optionfile Specifies file name of *.ini file to preset None
installation properties
The default Linux location for IBM Informix products is /opt/informix. To use the
default, create an /opt/informix directory.
To find out more about the product, including the complete release and update
number, use the RPM query option. The following table shows some examples. For
more options, see your RPM documentation.
Table 2-12. RPM Query Options
Command Purpose
rpm -qp * Queries the names of packages in the binary package files that
reside in the current directory
rpm -qpi *.rpm Queries detailed information about the binary package files (with
the filename extension .rpm) that reside in the current directory
rpm -qa Queries the names of the installed packages that are maintained in
the RPM database
The following table describes the command options that the preceding table uses.
For additional information on these options, see your RPM documentation.
Table 2-13. RPM Command Options
Option Explanation
a Queries all installed packages
i Displays package information, including name, version, and
description
To remove the files manually, run the following command from the
$INFORMIXDIR directory as the root user:
rm -rfproductfiles
You must query the package name before uninstalling and then specify that
package name when you run the uninstall command.
To discover which particular package or packages owns a file, run the rpm -qf
filename command.
Install IBM Informix products only as licensed by IBM. You cannot transfer
software from one computer to another, or to another portion of your network,
without reregistration and the written consent of IBM.
Before you install Client SDK or IBM Informix Connect, you must install the
appropriate operating-system patches and comply with the software, system,
database server, protocol, compiler, and driver-manager requirements. This
information can be found in the appropriate IBM Informix documentation. For
example, if you use the ODBC driver manager you can read about the driver
manager requirements in the IBM Informix ODBC Driver Programmer’s Manual
System Requirements
The following list describes the system requirements for IBM Informix client
products for Microsoft Windows XP, Windows Server 2003 and Windows Vista
systems.
v Hardware: Pentium® 3 or higher microprocessor
v RAM: 256 megabytes
v Hard-disk storage: 75 megabytes
Protocol Requirements
IBM Informix client products work with any TCP/IP protocol that complies with
Windows Sockets 1.1.
To configure your client product utilities, select a protocol through the Setnet32
utility. For instructions, see “Setting Database Server Information” on page 7-2.
To find out what version of the Driver Manager is installed on your computer,
select Start > Settings > Control Panel > ODBC Data Sources to display the
ODBC Data Source Administrator window. If the window does not have an About
tab, your computer has a Driver Manager earlier than Version 3.0.
If the version of MDAC installed on your computer is lower than Version 2.5, then
the Client SDK installation automatically updates it.
Use the Informix Setup utility to install Microsoft Driver Manager, Version 3.52.
When you run Setup, specify the Custom install option. You can only install
Microsoft Driver Manager, Version 3.52, by choosing MDAC, Version 2.5. You must
then reboot your computer.
Do not install Client SDK, Version 3.0, into a directory that contains a previous
version. Uninstall the previous version before you install Version 3.0 or follow the
instructions in “Common Installation Problems” on page 7-5.
For more information about installation order, see “Determine Installation Order”
on page 1-2
Client SDK requires the full Microsoft .NET Framework SDK. IConnect only
requires the Microsoft .NET Framework Redistributable Package.
If you do not have the .NET Framework installed, and want to install the .NET
Provider, complete the following steps:
1. Choose the Custom installation.
2. Enable the .NET Provider option.
The .NET Provider is copied to the target dir\bin directory, but will not register
it because GAC will not be present.
The IBM Informix Client SDK installation for Windows is based on the Microsoft
Windows Installer service. This service is built into Windows platforms. If this
service is not installed on your computer, the Client SDK installation program
installs it for you.
The Windows Installer service prevents a product from being installed over an
existing installation of the same product version. If you run the installation a
second time, the service prompts you to repair, modify, or uninstall the existing
product.
The following sections describe IBM Informix client product installation options,
how to install your software, and solutions to installation problems.
Attention: You must install Client SDK products before you run Enterprise
Replication commands and before you convert the syscdr database. For
more information, see the IBM Informix Dynamic Server Enterprise
Replication Guide.
Note: IBM Informix OLE DB Provider is a Custom installation option and is not
installed if you choose a Typical installation. IBM Informix OLE DB Provider
installation requires administrative privileges.
You might be prompted to reboot your computer at this point. If so, restarting
your computer now is recommended.
During this procedure, the Setup utility copies the client product software to your
computer, creates the Setnet32 icon and other icons in the INFORMIX program
folder, and creates the INFORMIX subkey of the Windows Registry.
You can specify the type of installation by using msiexec command options. For
more information about the various command-line options for msiexec, see the
Microsoft Windows Installer help on the Microsoft Web site.
You can specify the type of user interface that will be used during the installation
by using the /q command-line option. For instance, to run the install in silent
mode, with no error messages or end of installation indication, enter the following
command, where file pathname refers to the location of the .msi file on the media:
msiexec /i ".msi file pathname" /qn
To install Client SDK in silent mode, with no error messages, but with a window
at the end of the installation that indicates success or failure, enter the following
command:
msiexec /i ".msi file pathname" /qn+
Similarly, you can use the /qf and /qf+ options for a full user interface installation.
The /qf+ option displays a window at the end of the installation that indicates
success or failure.
For all three methods if you do not include INSTALLDIR in the msiexec command,
the installation will use the following default values:
v Client SDK
drive\program files\informix\client-sdk
v IConnect
drive\program files\informix\connect
v Method 1
Use the following command
msiexec.exe /i ".msi file pathname" /qn+ INSTALLDIR="path of
installation location" /L*v log file name
v Method 2
Run the transformgenerator.exe file, which is included on the Client SDK media.
Provide the name and path of the .msi file and click OK. Use the following
command to perform a silent installation using the transform file:
msiexec.exe /i ".msi file pathname" /qn+
TRANSFORMS=".mst file pathname" INSTALLDIR="path of the
installation location" /L*v "log file name"
v Method 3
Use the following command:
setup.exe /s /v"TRANSFORMS=\".mst file name\"
INSTALLDIR=\"path of installation location\" /qn+ /L*v \"log
file name\""
The msiexec command also accepts a product code instead of a path to an MSI
package.
To set the user and company names at the command line, enter the following
command:
msiexec.exe /i ".msi file pathname"
COMPANYNAME="My company" USERNAME"=username"
Property names are case sensitive. Enclose a property value in quotation marks if
the value contains any spaces.
You can also specify an alternative value for INSTALLDIR by using the following
command:
msiexec.exe /i ".msi file pathname"
INSTALLDIR="NewLocation path"
Logging
Use the/l argument to msiexec to create a log file at setup runtime.
For example, to store all error and warning messages in a text log file, enter the
following command, which passes the e and w arguments to /l:
msiexec.exe /i ".msi file pathname" /Lew D:\install.log
To log every action performed by the setup program, use the following command:
msiexec.exe /i ".msi file pathname" /L*v D:\install.log
Before you run the IBM Informix Client SDK installation in advertised mode, you
must generate a transform file by using the TransformGenerator tool on your CD.
This file is required to run the installation.
For more information about the command-line options for the Windows Installer
Service, see the help for Windows Installer Service, which is downloadable from
the Microsoft Web site.
For more information about environment variables for locales, see the IBM Informix
GLS User’s Guide.
For more information about host parameters, see your IBM Informix Administrator’s
Guide.
Overriding Information
You can use a set of environment variables with the function call ifx_putenv to
override the information that was entered in the Server Information and Host
Information pages of the Setnet32 utility.
Client SDK, Version 3.0, supports the following WIN32 override environment
variables. For more information about these environment variables, see the IBM
Informix ESQL/C Programmer’s Manual.
Table 7-1. WIN32 Override Environment Variables
Environment Variable Overrides the Value For
WIN32HOST The HOST network parameter
WIN32USER The USER network parameter
WIN32PASS The PASSWORD network parameter
WIN32ASKPASSATCONNECT The PASSWORD OPTION network parameter
WIN32SERVICE The SERVICE network parameter
WIN32PROTOCOL The PROTOCOL network parameter
If you receive your IBM Informix product materials from an Electronic Software
Download (ESD) vendor, consult the vendor documentation for information on
how to solve any installation problems that you might encounter.
v Problem. You receive the following error message:
Error 1311. Source File "d:\data.cab" Not Found.
Drive letter and path/filename can vary.
Solution. This is a Microsoft Windows security error that occurs when the
Windows Installer that is running as the local system user is denied access to the
.cab file. There are two ways to resolve this error:
Option 1: Copy the installation files to your hard drive and run the installation
from there.
Option 2: Change the Security Option, as follows:
1. Click Start > Settings > Control Panel > Administrative Tools.
2. Select Local Security Policy.
3. Expand the Local Policies folder.
4. Select Security Options.
5. From the right pane, depending on Windows version, select one of the
following options:
Devices: Restrict CD access to locally logged-on user only.
Restrict CD access to locally logged-on user only.
6. Change your selection to Disabled.
v Problem. You receive the following error message:
Error: file reading error
Solution. The installation program is unable to read the media. Try loading the
CD again. If the error persists, you might have corrupted hardware or media.
See your system administrator.
v Problem. You receive the following error message:
Invalid Processor: Error
Solution. Use a computer with an Intel® 80486 or higher microprocessor.
v Problem. You receive the following error message:
Invalid OS: Error
Uninstalling Client SDK completely removes the driver and all its components
from your computer.
To install a previous version of Client SDK in a directory that contains Version 3.0,
uninstall Version 3.0 before you proceed.
You can uninstall Client SDK from your computer by entering the following
command, where file pathname refers to the location of the .msi file on the media:
msiexec /x ".msi file pathname"
Environment Variables
Client SDK, Version 3.0, supports the following environment variables. For more
information about these environment variables, see their descriptions in the
respective publications.
With your client application files, you might distribute and install IBM Informix
client runtime components that are required by your application.
The following table lists the Informix components that your customer needs in
order to run your client application.
Table B-1. Informix Component Needed to Run Client Application
Client Development API Components Required at Runtime
IBM Informix Client SDK IBM Informix Connect
IBM Informix .NET Provider IBM Informix Connect
IBM Informix ESQL/C-DB2 IBM Informix Connect
IBM Informix ESQL/C IBM Informix Connect
IBM Informix ODBC Driver IBM Informix Connect
IBM Informix Object Interface for C++ IBM Informix Connect
IBM Informix OLE DB Provider IBM Informix Connect (including MDAC,
obtained by recording a custom installation)
DataBlade™ API IBM Informix Connect
You can redistribute Informix runtime components in the following two ways:
Warning: Do not copy single files or directories from any IBM Informix client API
into your application installation; doing so violates your Technical
Support agreement or contract.
When you package your client application for distribution to your users, you must
provide the user with the CD image of the Informix client runtime components. If
you created your client application by using Client SDK, you must include the
following two files, which are created when you record the installation:
v setup.iss (recorded install options)
v filename.nfx (recorded configuration with the filename of your choice)
For details about how to combine the installation of Informix client runtime
components with the installation of your client application, refer to “Creating the
Installation Script” on page B-6 and “Creating Your Client Application Installation
Program” on page B-7.
The following table lists the five options for distributing IBM Informix client
applications and refers you to detailed information about each option.
For details about establishing a relationship with IBM, call IBM Sales at
1-800-331-1763.
The installation documentation for your application must clearly tell your
customers that they are responsible for ordering IBM Informix Connect from IBM
and for installing it themselves. List the versions of IBM Informix Connect that you
tested with the application. The installation documentation for your application
must also supply the following information so that your customer can complete
the installation of IBM Informix Connect:
v Installation option: typical, compact, or custom. If customers need to use the
custom option, explain which components they must install.
v Destination directory
v Which directory to set as $INFORMIXDIR
Category Comment
Redistribution effort No need for you to redistribute IBM Informix Connect.
Ease of installation Your customer must acquire IBM Informix Connect from IBM and
install it separately; your customer might already have the correct
version of IBM Informix Connect installed.
Customer cost IBM Informix Connect is a free product. Your customers can
purchase technical support from IBM.
Version compatibility IBM might ship a version other than the version that you tested
your application with.
Risks:
You ship the IBM Informix Connect product with your client
application; your customer installs it
These are the requirements when you ship the IBM Informix Connect product with
your client application and your customer installs it.
You must have redistribution rights through a contract with IBM, and you must
have pre-ordered the IBM Informix Connect product with license agreements.
In the installation documentation for your application, you must clearly state the
customer’s responsibility for installing the version of IBM Informix Connect that is
supplied with the application. Supply your customers with the following
information so that they can install IBM Informix Connect:
Category Comment
Redistribution effort You must include a copy of IBM Informix Connect with the
application distribution.
Ease of installation Your customer must separately install IBM Informix Connect;
customer might already have the correct version of IBM Informix
Connect installed.
Customer cost Your customers can purchase technical support from IBM.
Version compatibility IBM might ship a version other than the version that you tested
your application with.
Risks:
You must have a manufacturing contract or license with IBM. You have the option
of ordering license agreements in blocks or individually at point of sale. For details
about establishing such a relationship with IBM, call IBM Sales at 1-800-331-1763.
Category Comment
Redistribution effort You must include a copy of IBM Informix Connect with the
application distribution.
Risks:
You must have a manufacturing contract or license with Informix. You have the
option of ordering license agreements in blocks or individually at point of sale. For
details about establishing such a relationship with IBM, call IBM Sales at
1-800-331-1763.
Record each IBM Informix Connect installation. For details about recording an
installation, refer to “Installing Informix C and C++ Client Runtime Components”
on page B-6.
Category Comment
Redistribution effort Must embed the IBM Informix Connect installation program into
the application installation program.
Ease of installation IBM Informix Connect is installed automatically for the customer.
Customer cost Technical support can be purchased.
Risks:
For internal use: you ship IBM Informix Connect on the same CD
as your client application; your employees install it silently when
they install your application
These are the requirements when you ship IBM Informix Connect on the same CD
as your client application to your employees and your employees install it silently
when they install your application.
Record each IBM Informix Connect installation. For details about recording an
installation, refer to “Installing Informix C and C++ Client Runtime Components.”
After your employees install IBM Informix Connect, they are bound by the license
agreement.
To package Informix C and C++ client runtime components with your client
application and install them on your customers’ computers:
1. Create an installation script for the client runtime components.
2. Create a client configuration file.
3. Create your client application installation program, which must invoke the
installation script that you created in step 1, and configure the client according
to the configuration file you that created in step 2.
Instructions for completing these tasks are provided in the following sections.
To verify that the Informix components were successfully installed, your customer
can check the installation log file. For details, see “Verifying the Results of Silent
Installation.”
When you prepare your installation media master, place all Informix files together
in the same directory. These files include the CD image of the Informix client
runtime components, the installation script (the setup.iss file), and the client
configuration file (the .nfx file).
Requirement: You must install the Informix runtime components before you can
configure the client computer as described in the following section.
Your customers or technical support representatives can check this log file to
determine whether the installation succeeded. By default, results are logged in a
file named setup.log that is located in the same directory as the CD image.
The following example shows a log file for a successful silent installation:
[InstallShield Silent]
Version=v5.00.000
File=Log File
[Application]
Name=InstallShield5
Version=5.00.000
Company=InstallShield
[ResponseResult]
ResultCode=0
Accessibility Features
The following list includes the major accessibility features in IBM Informix
Dynamic Server. These features support:
v Keyboard-only operation.
v Interfaces that are commonly used by screen readers.
v The attachment of alternative input and output devices.
Tip:: The IBM Informix Dynamic Server Information Center and its related
publications are accessibility-enabled for the IBM Home Page Reader. You
can operate all features using the keyboard instead of the mouse.
Keyboard Navigation
This product uses standard Microsoft Windows navigation keys.
You can view the publications for IBM Informix Dynamic Server in Adobe Portable
Document Format (PDF) using the Adobe Acrobat Reader.
In dotted decimal format, each syntax element is written on a separate line. If two
or more syntax elements are always present together (or always absent together),
the elements can appear on the same line, because they can be considered as a
single compound syntax element.
The dotted decimal numbering level denotes the level of nesting. For example, if a
syntax element with dotted decimal number 3 is followed by a series of syntax
elements with dotted decimal number 3.1, all the syntax elements numbered 3.1
are subordinate to the syntax element numbered 3.
Certain words and symbols are used next to the dotted decimal numbers to add
information about the syntax elements. Occasionally, these words and symbols
might occur at the beginning of the element itself. For ease of identification, if the
word or symbol is a part of the syntax element, the word or symbol is preceded by
the backslash (\) character. The * symbol can be used next to a dotted decimal
number to indicate that the syntax element repeats. For example, syntax element
*FILE with dotted decimal number 3 is read as 3 \* FILE. Format 3* FILE
indicates that syntax element FILE repeats. Format 3* \* FILE indicates that
syntax element * FILE repeats.
The following words and symbols are used next to the dotted decimal numbers:
? Specifies an optional syntax element. A dotted decimal number followed
by the ? symbol indicates that all the syntax elements with a
corresponding dotted decimal number, and any subordinate syntax
elements, are optional. If there is only one syntax element with a dotted
decimal number, the ? symbol is displayed on the same line as the syntax
element (for example, 5? NOTIFY). If there is more than one syntax element
with a dotted decimal number, the ? symbol is displayed on a line by
itself, followed by the syntax elements that are optional. For example, if
you hear the lines 5 ?, 5 NOTIFY, and 5 UPDATE, you know that syntax
elements NOTIFY and UPDATE are optional; that is, you can choose one or
none of them. The ? symbol is equivalent to a bypass line in a railroad
diagram.
! Specifies a default syntax element. A dotted decimal number followed by
the ! symbol and a syntax element indicates that the syntax element is the
default option for all syntax elements that share the same dotted decimal
number. Only one of the syntax elements that share the same dotted
decimal number can specify a ! symbol. For example, if you hear the lines
IBM may have patents or pending patent applications covering subject matter
described in this document. The furnishing of this document does not give you
any license to these patents. You can send license inquiries, in writing, to:
IBM Director of Licensing
IBM Corporation
North Castle Drive
Armonk, NY 10504-1785
U.S.A.
For license inquiries regarding double-byte (DBCS) information, contact the IBM
Intellectual Property Department in your country or send inquiries, in writing, to:
IBM World Trade Asia Corporation Licensing
2-31 Roppongi 3-chome, Minato-ku
Tokyo 106-0032, Japan
The following paragraph does not apply to the United Kingdom or any other
country where such provisions are inconsistent with local law:
INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS
PUBLICATION “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS
FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or
implied warranties in certain transactions, therefore, this statement may not apply
to you.
Any references in this information to non-IBM Web sites are provided for
convenience only and do not in any manner serve as an endorsement of those Web
sites. The materials at those Web sites are not part of the materials for this IBM
product and use of those Web sites is at your own risk.
IBM may use or distribute any of the information you supply in any way it
believes appropriate without incurring any obligation to you.
Licensees of this program who wish to have information about it for the purpose
of enabling: (i) the exchange of information between independently created
The licensed program described in this information and all licensed material
available for it are provided by IBM under terms of the IBM Customer Agreement,
IBM International Program License Agreement, or any equivalent agreement
between us.
All statements regarding IBM’s future direction or intent are subject to change or
withdrawal without notice, and represent goals and objectives only.
All IBM prices shown are IBM’s suggested retail prices, are current and are subject
to change without notice. Dealer prices may vary.
This information contains examples of data and reports used in daily business
operations. To illustrate them as completely as possible, the examples include the
names of individuals, companies, brands, and products. All of these names are
fictitious and any similarity to the names and addresses used by an actual business
enterprise is entirely coincidental.
COPYRIGHT LICENSE:
If you are viewing this information softcopy, the photographs and color
illustrations may not appear.
Trademarks
The following terms are used in one or more IBM Informix product publications
and the terms are trademarks of International Business Machines Corporation in
the United States, other countries, or both:
AIX MQSeries
C-ISAM NUMA-Q
Cloudscape OS/2
DataBlade OS/390
DB2 OS/400
DB2 Connect RedBack
DB2 Universal Database Red Brick
Distributed Relational Database Architecture RETAIN
Dynamic Connect SystemBuilder
IBM UniData
Informix UniVerse
Adobe, Acrobat, Portable Document Format (PDF), and PostScript are either
registered trademarks or trademarks of Adobe Systems Incorporated in the United
States, other countries, or both.
Intel, Intel logo, Intel Inside, Intel Inside logo, Intel Centrino, Intel Centrino logo,
Celeron, Intel Xeon, Intel SpeedStep, Itanium, and Pentium are trademarks or
registered trademarks of Intel Corporation or its subsidiaries in the United States
and other countries.
Java and all Java-based trademarks and logos are trademarks of Sun Microsystems,
Inc. in the United States, other countries, or both.
Microsoft, Windows, Windows NT, and the Windows logo are trademarks of
Microsoft Corporation in the United States, other countries, or both.
UNIX is a registered trademark of The Open Group in the United States and other
countries.
Notices D-3
D-4 IBM Informix Client Products Installation Guide
Index
Special characters DBANSIWARN environment variable A-1
DBAPICODE environment variable A-1
/opt/informix directory 2-11 DBASCIIBC environment variable A-1
.iem file extension A-2 DBCENTURY environment variable A-1
.NET Provider, installing 5-3 DBCONNECT environment variable A-1, A-2
DBCSCONV environment variable A-2
DBCSOVERRIDE environment variable A-2
A DBCSWIDTH environment variable A-2
accessibility C-1 DBDATE environment variable A-2
keyboard C-1 DBFLTMASK environment variable A-2
shortcut keys C-1 DBLANG environment variable A-2
Accessibility DBMONEY environment variable A-2
dotted decimal format of syntax diagrams C-1 DBMONEYSCALE environment variable A-2
syntax diagrams, reading in a screen reader C-1 DBNLS environment variable A-2
Advertising 6-6 DBPATH environment variable A-2
DBSS2 environment variable A-2
DBSS3 environment variable A-2
C DBTEMP environment variable A-2
DBTIME environment variable A-3
CC8BITLEVEL environment variable A-1 Default installation directory 2-11
Client Installation DELIMIDENT environment variable A-3
Windows 6-1 Delimited identifiers A-3
Client Runtime Components Disabilities, visual
installing B-6 reading syntax diagrams C-1
Client SDK disability C-1
distribution options, overview B-2 Disk space 2-1
Environment Variables A-1 Distribution options overview
installing 6-1, B-8 Client SDK B-2
installing silently 6-4 doledbp.sql script 7-5
installing using Windows program 6-1 Dotted decimal format of syntax diagrams C-1
Runtime components B-1
uninstalling 8-1
CLIENT_LOCALE environment variable A-1
coledbp.sql script 7-5 E
COLLCHAR environment variable A-1 Enterprise Replication 6-1
Command line, installing from 6-4 Environment configuration 7-1
Command-line mode installation environment variables 7-4
Client SDK 2-9 Environment variables
Informix Connect 2-9 CC8BITLEVEL A-1
Compatibility 2-2 CLIENT_LOCALE A-1
Configuring COLLCHAR A-1
Informix products 7-1 DB_LOCALE A-1
the environment 7-1 DBALSBC A-1
Connect, redistribution guidelines B-1 DBANSIWARN A-1
Connections A-3 DBAPICODE A-1
console mode, installation 2-4 DBASCIIBC A-1
cpio command 1-4 DBCENTURY A-1
DBCODESET A-1
DBCONNECT A-2
D DBCSCONV A-2
DBCSOVERRIDE A-2
Database locale, setting language features A-3 DBCSWIDTH A-2
Database Server requirements DBDATE A-2
Windows 5-1 DBFLTMASK A-2
Database servers DBLANG A-2
default A-3 DBMONEY A-2
identifying A-2 DBMONEYSCALE A-2
setting parameters in Setnet32 7-2 DBNLS A-2
DATE data type A-2 DBPATH A-2
DATETIME data type A-3 DBSS2 A-2
DB_LOCALE environment variable A-1 DBSS3 A-2
DBALSBC environment variable A-1 DBTEMP A-2
F
FET_BUF_SIZE environment variable
File extensions, .iem A-2
A-3 M
Message file A-2
Messages, optimized transfers A-4
Microsoft .NET Framework 5-3
G Microsoft Visual C++ compiler 5-2
GL_DATE environment variable A-3 MONEY data type A-2, A-4
GL_DATETIME environment variable A-3 msiexec command 6-4
group informix 1-4
N
H NCHAR data type A-3, A-4
HKEY_CURRENT_USER 7-1 NLS environment A-2, A-3, A-4
HKEY_LOCAL_MACHINE 7-1 NODEFDAC environment variable A-4
Host information, setting 7-3 NVARCHAR data type A-3, A-4
Host parameters 7-3
O
I ODBC Driver Manager
IBM Informix Connect installing 5-2
installing 6-2 OLE DB Provider 7-5
redistribution guidelines B-1 OPTMSG environment variable A-4
IFX_FLAT_USCQ environment variable A-3 OPTOFC environment variable A-4
INFORMIXCONRETRY environment variable A-3 Order of installation 5-2
INFORMIXCONTIME environment variable A-3 overriding information 7-4
INFORMIXSERVER environment variable A-3 Overriding Information 7-4
INFORMIXSQLHOSTS environment variable A-3
Install medium 2-1
Installation
Client runtime components B-6
P
Processor, storing temporary files A-2
determining directory location 1-1
Product configuration 7-1
language compiler 5-2
properties
order 5-2
silent ini file 2-6
order of 1-2
Protocols
problems 7-5
Windows 5-1
S
Screen reader
reading syntax diagrams C-1
Server parameters 7-2
services file 7-2
Setnet32 utility
product configuration 7-1
recording configuration B-7
silently configuring B-8
Setting environment variables 7-1
shortcut keys
keyboard C-1
Silent install 6-4
Silent installation
verifying B-8
silent mode, installation in 2-6
silent.ini file
properties 2-6
SQL scripts
coledbp.sql 7-5
doledbp.sql 7-5
Syntax diagrams
reading in a screen reader C-1
System requirements
Windows 5-1
T
tar command 1-4
TCP/IP protocol
Windows 5-1
TMP environment variable A-4
Transform file 6-6
TransformGenerator.exe 6-6
Troubleshooting
common installation problems 7-5
U
Uninstalling
command line 8-1
using RPM 4-2
Uninstalling Client SDK 8-1
user informix 1-4
V
Visual disabilities
reading syntax diagrams C-1
Index X-3
X-4 IBM Informix Client Products Installation Guide
Printed in USA
G229-6401-01