   =========================================================================
                           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
   =========================================================================
                              PROJECT DYNAMIC
                              ===============

   TABLE OF CONTENTS
   =================
       INTRODUCTION
       SOURCE FILES
       REQUIREMENTS
       OPERATION


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

   DYNAMIC uses dynamic SQL to CREATE a table and insert and update
   data to it.  DYNAMIC  performs a mix of create table, select, insert,
   update, commit, rollback and drop table SQL statements with mutual
   consistency checking between steps.

   If this program was written as a STATIC sql program, it would have to
   be broken apart into two programs since static SQL require the table
   to already exist or a compile error will result.

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

   DYNAMIC.CBL
   SQLCA.CPY

   REQUIREMENTS
   ============

   DYNAMIC is written to operate with the DB2 SAMPLE database supplied
   with various versions of DB2 Universal Database.  You must have been
   granted CREATE TABLE and BIND/ADD authority on this database.


   OPERATION
   =========

   DYNAMIC starts by prompting for a database alias, user id and
   password, and then connects to database. Enter a database name of
   'Sample'.  If you are using a local version of the SAMPLE database,
   you can leave the id and password entries blank.  DYNAMIC drops a
   test table named MFESQLTEST if it already exists, and then creates
   it. It then inserts a row, commits the insert, updates the row, reads
   the row for verification, rolls back the update, reads the row for
   verification, drops the table, disconnects and finally verifies that
   an attempt to create the table after disconnect causes an error.

   NOTE: You do not have to use the SAMPLE database. You can use any
         database that you have create table authority, entering a valid
         user id and password although the MFESQLTEST table will not
         exist when DYNAMIC first runs.  Before you compile the program,
         you must replace the db=sample in directive $SET db2(db=sample)
         to the database that you want to use.

   =========================================================================
   Micro Focus is a registered trademark, and Server Express is a trademark,
   of Micro Focus International Limited. All other trademarks are the
   property of their respective owners.
   =========================================================================
   Copyright (C) 1999 Micro Focus International Limited. 
   All rights reserved.


