================================================================================
  C Sample Code for Accessing the mSQL database via Call-Level Interface (CLI)
================================================================================

Copyright and Warranty:
-----------------------

        All files in this directory are under terms of copyright. You
        may use the sources as samples of how to access the mSQL data-
        base server via CLI. You are not allowed to distribute parts or
        complete files within your software! Use is only permitted for
        self-training and learning.

        Warning! USE OF THESE FILES ON OWN RISK! There is no warranty
        for correct working. I can't guarantee for correctness within
        the code, nor compiled binaries. There should be no damage
        when using these files, but I can't guarantee this.

                (c) 1997 by Dirk Ohme - all rights reserved



Requirements:
-------------

        The samples do require the iODBC DLL, which can be found in
        the LIB directory (..\..\LIB\):

                iODBC           -> odbc.dll
                  |
                  | requires a DLL for each database software used, e.g.
                  |
                  +--------------> libmsql.dll  (mSQL 1.x)
                  +--------------> libmsql2.dll (mSQL 2.0)
                  +--------------> db2cli.dll   (DB2/2)
                  +
                 ... etc. ...



Contents:
---------

        Makefile        Makefile for building the programs, depending
                        on the distribution (mSQL for OS/2, stand-alone)
                        equals Makefile.OS2 or Makefile.UNX
        Makefile.OS2    original Makefile for use with OS/2 and IBM C/C++
                        Set/2 or IBM Visual Age C++
        Makefile.UNX    original Makefile for use with various UNIX OSs.
        monitor.c       simple SQL monitor written in C. Queries for
                        a SQL statement, sends it to the server and
                        shows the results.
        showtab.c       another C source. Like 'monitor', but returns
                        additional information about the result columns.



================================================================================
        (c) 1997 by Dirk Ohme, all rights reserved
                                            Moessingen, January 9th, 1997
================================================================================
