Browse Prior Art Database

Run Time Environment Support for the Extended Services DOS Client Application Enabler

IP.com Disclosure Number: IPCOM000105674D
Original Publication Date: 1993-Aug-01
Included in the Prior Art Database: 2005-Mar-20
Document File: 2 page(s) / 102K

Publishing Venue

IBM

Related People

Amundsen, L: AUTHOR [+2]

Abstract

Disclosed is a technique that enhances the ability of Micro Focus COBOL/2 programmers to write DOS Database Client application programs that access IBM Extended Services with Database Server for OS/2* databases. The application programming interface (API) shipped with the Extended Services Client Application Enabler allows SQL statements to be embedded directly in a COBOL/2 application. A precompiler then translates these statements into Database Manager routine calls allowing database access.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 52% of the total text.

Run Time Environment Support for the Extended Services DOS Client Application Enabler

      Disclosed is a technique that enhances the ability of Micro
Focus COBOL/2 programmers to write DOS Database Client application
programs that access IBM Extended Services with Database Server for
OS/2* databases.  The application programming interface (API) shipped
with the Extended Services Client Application Enabler allows SQL
statements to be embedded directly in a COBOL/2 application.  A
precompiler then translates these statements into Database Manager
routine calls allowing database access.

      The DOS Database Client Client Application Enabler shipped with
Extended Services requires that COBOL/2 applications be static
linked, however.  This is a limitation for customers using the Micro
Focus Run Time Environment (RTE), shipped with the Micro Focus
COBOL/2 Toolset.  One of the nice features of the RTE is its ability
to manage virtual memory and dynamically link COBOL/2 modules.  This
is especially useful on DOS machines where static linked programs
typically must restrict themselves to reside in 640 KB of memory.

      Fortunately, there is a method of creating a RTE compatible
version of the DOS Database Client Application Enabler.  This
involves using the INSTALLF utility shipped with the COBOL/2 Toolset
to create a RTE compatible library that can be loaded by a COBOL/2
application.  The code and static memory used by the DOS Database
Client Application Enabler becomes compatible with the RTE, and
larger programs can be run.

BUILDING THE INSTALLF LIBRARIES - The DOS Database Client API is
written mostly in the C language.  Building an INSTALLF library for
this language involves creating an assembly interface layer, and
linking to this layer along with other INSTALLF objects and C runtime
libraries.  This requires less work than it appears for the DOS
Database Client Application Enabler, however, because the additional
assembly layer is already contained in the DOS Database Client
Application Enabler library, PCDRSTAT.LIB.

WHAT YOU WILL NEED - Most of the objects and source files needed to
build the DOS Database Client Application Enabler INSTALLF library
are readily available:

o   INSTALLF utility - This consists of an include file, object
    module, and a library, all named INSTALLF, that are shipped with
    the COBOL/2 Toolset.

o   Microsoft C Version 6.0 Runtime Libraries - These libraries
    provide the C runtime support modules used by C language
    applications.  These libraries are required because the DOS
    Database Client Application Enabler issues calls to the runtime
    support modules.

o   Subroutine Object Modules - These object modules form the actual
    layer between the C...