A method, apparatus, and article of manufacture for accessing a hierarchical
database. An objects framework models the
database as one or more objects. An Internet-enabled generic application program accesses the
database via the objects framework. The present invention introduces an Internet-enabled generic application program for accessing hierarchical databases, such as an IMS TM database, by modeling the database into an objects framework and then accessing the database via the objects framework using standard tools, such as the DL / I TM
query language for the IMS TM database.
The Internet-enabled generic application program dynamically builds a DL / I TM
query string based on
web browser inputs. The generic application program loads the objects framework to instantiate IMS TM objects and dynamically constructs DL / I TM calls to access the IMS TM database. The generic application program can be used in a number of different environments, such as: (1) DL / I TM
batch processing and (2) on-line transactions including both IMS TM and
CICS TM transactions. Moreover, the generic application program and objects framework can be executed in any MVS
address space, including IMS TM and non-IMS TM address spaces, such as
web server address spaces. With this invention, customers can continue to access their
business data in IMS TM databases using the latest Internet technology, without relying on legacy application programs and without developing new application programs. Thus, the present invention offers improved IMS TM application
programming productivity by supporting IMS TM business objects and
data objects, by eliminating complicated DL / I TM
programming, and by supporting use of object-oriented
programming tools.