![]() |
![]() |
ALLBASE/SQL COBOL Application Programming Guide: HP 9000 Computer Systems![]() Chapter 1 Getting Started with ALLBASE/SQL Programming in COBOL |
|
Table of Contents The steps in creating a COBOL application program that accesses an ALLBASE/SQL relational database environment (DBEnvironment) are summarized in Figure 1-1. Using your favorite editor, you create COBOL source code. The source code is a compilable COBOL program or subprogram that contains SQL commands. The SQL commands contained within the COBOL program are said to be embedded. Before compiling the source code, you must preprocess it with the ALLBASE/SQL COBOL preprocessor. The preprocessor:
You use the COBOL compiler to create either intermediate code or executable code from the modified source code file and the two copy files. The Runtime System makes the appropriate database accesses at run time in the DBEnvironment where the stored module resides. |