Compaq COBOL AAQ2G1FTK User Manual

Page 74

Advertising
background image

Developing Compaq COBOL Programs
1.3 Developing Programs on OpenVMS Alpha

See the OpenVMS Linker Utility Manual and the Guide to Creating OpenVMS
Modular Procedures
for more information about shareable images.

The following sample programs and command procedure provide an example of
how to create, link, and install a subprogram as a shareable image, as described
in the preceding steps.

Example 1–2 shows the main program CALLER.COB and the two subprograms
(SUBSHR1.COB and SUBSHR2.COB). Only the subprograms are installed as
shareable images.

1–44 Developing Compaq COBOL Programs

Advertising