![]() |
![]() |
ALLBASE/SQL FORTRAN Application Programming Guide: HP 9000 Computer Systems![]() Chapter 1 Getting Started with ALLBASE/SQL Programming in FORTRAN |
|
Table of Contents The steps in creating a FORTRAN application program that accesses an ALLBASE/SQL DBEnvironment are summarized in Figure 1-1 “Creating an ALLBASE/SQL FORTRAN Application Program”. Using your favorite editor, create FORTRAN source code. The source code is a compilable FORTRAN program or subprogram that contains SQL commands. The SQL commands contained within the FORTRAN program are said to be embedded. Refer to the ALLBASE/SQL Reference Manual for SQL terminology and usage rules. Before compiling the source code, it must be preprocessed using the ALLBASE/SQL FORTRAN preprocessor. The FORTRAN preprocessor:
The FORTRAN compiler and system linker are used to create the executable program from the modified source code file and the include file. The executable program automatically makes the appropriate database accesses at runtime in DBEnvironments where the related module is stored. |