COBOL Manual for TNS/E Programs (H06.03+)

HP COBOL Manual for TNS/E Programs520347-003
24-1
24
Issues Related to Linking
Topics:
Concepts and Terms
Linking HP COBOL Programs
COBOL Segmentation
Concepts and Terms
These the concepts and terms are relevant to linking:
Memory Areas
Code and Data Blocks
Linking
Loadfiles, Linkfiles, and Processes
Fixup
Code and Data Blocks
The compiler accepts HP COBOL source code and produces code and data blocks.
The code blocks can call each other.
Topics:
How the Compiler Produces Code and Data Blocks
How One Code Block Calls Another
How the Compiler Produces Code and Data Blocks
To understand how the compiler produces code and data blocks from HP COBOL
source code, you must know about separately compiled programs and compilation
units.
A separately compiled program is an HP COBOL source program that is not nested
within any other program. It can have other HP COBOL source programs nested within
it.
Note. Most of this section applies to the Guardian environment. If you are binding HP COBOL
programs in the OSS environment, see Section 19, Using HP COBOL in the OSS Environment
and Mixed-Language Programs.