ODBC-Access for ADABAS under Linux
I programmed a small C++-Interface to Adabas using the odbc-library under
Linux. It's a little bit quick&dirty but it should work for simple
applications, if you simple want to write a small program accessing adabas,
without using embedded SQL or program direct with the odbc core functions.
I hope this small library helps you a little. If you have comments,
additions or anything else to say, please email me at jonny@dillingen.baynet.de
[ Overview - Installation
- Download - Copyright
]
Overview:
-
The library consists of the following objects:
-
tDatabase: this is the main object to access the database.
-
tDataSource: use this object to make SQL-queries and receive the results.
-
tObject: the basis for tCollection & tStrColl.
-
tCollection: a collection-object for C++. It's a kind of dynamic array
which grows, if you insert values. You can specify a size to start with
and the step by which it is expanded. This collection can hold any object
of type tObject.
-
tStrColl: a string-collection. This collection can hold only strings.
-
Small sample program .
Installation:
-
download the tar-file
-
choose a target dir to which you copy the file.
-
untar the archive
-
adjust the log-level in the file util.cpp (I recommend using log-level
2, otherwise you will get very big log-file).
-
write your own programs :-))
Download
If you decided to give this package a try, you can download the actual
version here: aodbc-1.0.tgz .
Copyright
I distribute this program free of any charge and you can even modify
or copy it. I would be happy, if you include a link to this page, or include
my e-mail. You can also send me your additions or corrections and I will
include it into my distribution, if you like.
© 1996,97 js