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

Libraries and Utility Routines
HP COBOL Manual for TNS/E Programs520347-003
13-3
Memory Areas
Memory Areas
The memory a COBOL process uses is divided into distinct areas, each holding code
blocks or data blocks for the COBOL run unit or for Guardian environment routines that
serve the run unit.
sSystem Library
System library content is determined at system generation (SYSGEN). System library
routines run in the system code space.
User Library
A user library contains routines that the operating environment links to the loadfile (run
unit) at run time. Run-time linking does not include copying the routines into the
loadfile. A loadfile can have only one user library associated with it.
A user library is a DLL. See Dynamic-Link Libraries (DLLs).
Table 13-2. Memory Area Characteristics
Memory
Area Purpose Size Comments
User code
space
Holds code blocks
produced by the
compilation
256 megabytes Routines from loadfile
s execute
here.
User data
space
Holds data blocks
produced by the
compilation
1.5 GB The maximum size of one data
item is 128 MB.
System
code
space
Holds code for the
system routines
that service the run
unit in the user
code space
System library routines execute
here.
System
data
space
Holds data for the
system routines
that service the run
unit in the user
code space