Download Latest Version tpc-c-ifmx.tar.gz (392.7 kB)
Email in envelope

Get an email when there's a new version of IIUG Software Repository

Home / ESQL / tclsql
Name Modified Size InfoDownloads / Week
Parent folder
init.c 2020-05-11 9.2 kB
Makefile 2020-05-11 1.1 kB
misc.c 2020-05-11 3.2 kB
rcs.mk 2020-05-11 1.8 kB
README 2020-05-11 2.6 kB
README.NEW 2020-05-11 203 Bytes
rules.mk 2020-05-11 1.4 kB
sqlFuncs.ec 2020-05-11 24.0 kB
sqlFuncs.h 2020-05-11 1.8 kB
sqlFuncsP.ec 2020-05-11 27.3 kB
sqlFuncsP.h 2020-05-11 2.0 kB
symbols.mk 2020-05-11 790 Bytes
tclDecimal.c 2020-05-11 11.9 kB
tclFuncs.c 2020-05-11 16.9 kB
TclSql.doc 2020-05-11 11.5 kB
tclsql.h 2020-05-11 2.4 kB
tclsql.tlib 2020-05-11 6.9 kB
tclsqlP.h 2020-05-11 1.6 kB
TO.DO.LIST 2020-05-11 188 Bytes
Totals: 19 Items   126.8 kB 0
# README
#
#  Copyright (C) 1993 BALTIMORE RH TYPING Laboratory, Inc. All Rights Reserved
#
# Program   :    TclSql library
# File      :    README
#
# Written   :    Bradley M. Kuhn        Computer Systems Development, Inc.
#   By                                  5916 Glenoak Ave.
#                                       Baltimore, MD 21214-2009
#                                       410-254-7060
#
# Written   :    BALTIMORE RH TYPING Laboratory, Inc.
#   For          400 West Franklin Street
#                Baltimore, MD 21201
#                410-225-9595
#
# RCS        :
# $Source: /usr5/src/tclsql/lib/RCS/README $
# $Revision: 0.1 $
# $Date: 1993/08/30 11:40:37 $
#
# $Log: README $
# Revision 0.1  1993/08/30  11:40:37  bkuhn
#   # initial checkin
#

Some of this source code for the sql interface to Tcl was obtained from the
INTERNET

harbor.ecn.purdue.edu:/pub/tcl/extensions/tcl_sql.tar.Z

See the file TCLSQL.DOC in this directory for more info.

DO NOT compile this with optimize.  It screws things up.

P.S.

I wanted this to go in the Informix Archive because a lot of work went
into making this code work with Informix. In some cases it was improved
over what was originally posted on purdue.edu.

This posting in the archive of Tcl stuff was not meant to be a "compile
and go" for anybody you wanted to use it. We don't have the time or
desire to do that. This stuff has been tested in a complicated production
environment and it works for us. You should get the Tcl Informix
code from purdue.edu and look at it.

The "Makefile" is custom to our installation. Trying to include all of
it so it will work on your system is too much work. If you are interested
enough to be using Informix/TcL interface then should have no trouble
figuring out how to compile this stuff.

How we used it. . .

We used Tcl/Informix in the following way:

We needed to do statistical calculations envolving blood typing/DNA analysis
for establishing paternity. The method of doing this required a lot of
list comparison. From the Informix database we created temporary tables
that had sets of data that the calculation would work on.

The Tcl code did the calculation work by reading data from the temp tables
and putting data back into temp tables. 

This was done in 4GL by creating a Tcl Interpreter and calling it
with the filename of the Tcl code. Since Tcl was linked with esql/c
and because it is part of the same process you get an "imbeddable language"
into 4GL that works just the way Tcl was intended.

Mike Kuhn  mkuhn@rhlab.com, csd@clark.net

Brad Kuhn  bkuhn@acm.org
Source: README, updated 2020-05-11