Pro*COBOL® Getting Started Release 9.2 for Microsoft Windows (32-Bit) Part Number A96113-03 |
|
|
View PDF |
This chapter describes the Oracle programmatic interface for the COBOL language running on Windows operating systems.
This chapter contains these topics:
To access an Oracle database, you use a high-level query language called Structured Query Language (SQL). You often use SQL through an interactive interface, such as SQL*Plus.
Pro*COBOL is a programming tool that enables you to embed SQL statements in a COBOL program. The Pro*COBOL precompiler converts the SQL statements in the COBOL program into standard Oracle run-time library calls. The generated output file can then be compiled, linked, and run in the usual manner.
Use the Pro*COBOL precompiler when rapid development and compatibility with other systems are your priorities.
Pro*COBOL supports the MERANT Micro Focus NetExpress version 3.1 for 32-bit Windows 2000.
Note: Pro*COBOL does not support Object Oriented COBOL (OOCOBOL) specifications. |
When you install Pro*COBOL, Oracle Universal Installer creates a directory called \precomp
in your ORACLE_BASE\ORACLE_HOME
directory.
Note: The\precomp directory can contain files for other products, such as Pro*C/C++. |
The \precomp
directory contains the directories listed in Table 1-1.
Table 1-1 Directories
The ORACLE_BASE\ORACLE_HOME
\precomp\public
directory contains the Pro*COBOL header files listed in Table 1-2.
Table 1-2 Header Files
The ORACLE_BASE\ORACLE_HOME
\precomp\lib
directory contains the library file that you use when linking Pro*COBOL applications. The library file is called orasql9.lib
.
Although all Windows operating systems allow spaces in filenames and directory names, the Oracle Pro*C/C++ and Oracle Pro*COBOL precompilers will not precompile files that include spaces in the file name or directory name. For example, do not use the following formats:
proc iname=test one.pc
proc iname=d:\dir1\second dir\sample1.pc
Users running PROCOB application that are not linked using /LITLINK option and failing at runtime with the error,
Load error: file 'ORASQL8'
need to copy orasql9.dll
to orasql8.dll
in the same directory where orasql9.dll
exists.