   =========================================================================
                        M I C R O   F O C U S

                   S E R V E R   E X P R E S S  5.0
   =========================================================================

                                  DYNQUERY DEMO
                                  =============


   TABLE OF CONTENTS
   =================

   INTRODUCTION
   SOURCE FILES

   INTRODUCTION
   ============

   The file dynquery.cbl is an OpenESQL demonstration program that 
   shows how to use dynamic SQL functions from COBOL.  It provides
   the capability for the user to enter any SQL statement and the
   program will execute them. It shows how to prepare a SQL statement
   and how to use the SQLDA structure to retrieve data from columns
   when the type of the column is not known when the program is
   compiled.

   The program will work against any data source.
   If you use the odbc.ini file supplied with Server Express, a sample 
   Dbase database is already setup. To use this database when you run 
   the program, enter 'SampleDbase' when prompted to enter a data 
   source name and leave the user name and password blank. An 
   example query would be:

	select FIRST_NAME, LAST_NAME, HIRE_DATE, SALARY from EMP
   
   For ease-of-use, this program may be examined and executed using
   the INFOMGR facility provided with this product.

   For more information, please consult the Database Access book in 
   your product documentation.

   SOURCE FILES
   ============

   dynquery.cbl

   =========================================================================
   Micro Focus is a registered trademark of Micro Focus International Ltd.
   Server Express is a trademark of Micro Focus International Ltd.
   =========================================================================
   Copyright (C) 1999 Micro Focus International Ltd.

