Building applications and routines written in COBOL
You are provided with build scripts for various operating systems
for your Db2®
product. You can build embedded SQL applications written in COBOL with these files.
Aside
from build scripts that you can use to build applications there is a specific
bldrtn
script so that you can build routines, such as stored procedures and user
defined functions.When working with applications written in the Micro Focus COBOL
language on Linux®, be sure
to configure the compiler to be able to access certain COBOL shared
libraries. IBM® COBOL samples
are provided and can be found in the sqllib/samples/cobol
directory
for UNIX and sqllib\samples\cobol
directory
for Windows, for the Micro
Focus COBOL samples directories replace the 'cobol' at the end of
the path with 'cobol_mf'.