User`s guide

5
Programmatic Interfaces 5-1
5
Programmatic Interfaces
This chapter provides BS2000/OSD-specific information that supplements the
documentation for the individual precompilers (such as Pro*C), and host language
calls (Oracle Call Interface). It includes information about the following topics:
Overview
Building and Running a Programmatic Interface Application
Pro*C/C++
Pro*COBOL
The Oracle Call Interface
The Object Type Translator
5.1 Overview
Oracle Programmatic Interfaces are tools for application designers who want to use
SQL statements to access an Oracle Database from within high-level language
programs. The following types of programmatic interfaces are available:
The Precompiler Interface, which is a programming tool that enables you to
embed SQL statements in high-level language source code
The Oracle Call Interface, which allows high-level language applications to access
data in an Oracle Database by making direct calls to the Oracle Database kernel
Under BS2000/OSD, the Oracle Database precompilers support programs written in
C, C++, and COBOL programming languages.
For more detailed information about Oracle Precompilers, refer to Oracle Database
Programmer's Guide to the Oracle Precompilers and the appropriate supplementary
publications from the following list:
the Pro*C/C++ Programmer's Guide
the Pro*COBOL Programmer's Guide
5.1.1 Architecture of the Programmatic Interfaces
All precompiler and Oracle Call Interface (OCI) applications are link-edited with a
small stub module. The stub module dynamically loads the bulk code of the Oracle
precompiler software from the
ORALOAD
library (by using the
BIND
system macro).
Programs written in the following languages can be combined:
Pro*C/C++