WDB Informix Interface
by Curtis Wong (office curtis@ana.com, home curtis@crl.com)
The isql_dbi.pl file makes it possible to use
WDB to interface to Informix instead of Sybase.
Requirements
You need isqlperl (perl 4.036 + Informix development libaries)
to use the wdb Informix interface.
Check the perl archives for the isqlperl sources.
Install isqlperl ( If you haven't got it already ).
Isqlperl is a set of user-defined subroutines letting you access an
Informix data server using Perl. You will need the Informix
development system to build isqlperl.
-
Download perl (version 4.036) and compile it. The binary is
not enough, you need the object file called uperl.o to link isqlperl,
so you have to get the source and compile perl your self.
- Download
isqlperl and build it using the Informix development System.
Configuration
Follow the normal WDB configuration instructions, with the following
exceptions :
- Set
$DBI_FILE
in the wdb.conf
file to
isql_dbi.pl
.
- Set the first line in the wdb script to isqlperl instead of sybperl.
- Set
$SQLEXEC
in the wdb.conf
file to
the name of your Informix server executable.
Creating FDF's
Included is also an Informix version of mkfdf, called isqlfdf, which will produce a working template FDF
file given a database and table name.
Example
A sample form for the Informix Demo Stores database is included in
the fdf/stores directory.
- Have fun.
Send comments to
curtis@crl.com (Curtis Wong)
......... Last update 22-Feb-1995