COBOL Manual for TNS and TNS/R Programs
Program Compilation
HP COBOL Manual for TNS and TNS/R Programs—522555-006
11-80
HEAP
HEAP
HEAP specifies heap space size in the CRE. HEAP is useful only in the Guardian
environment and only if the program calls HP C functions that allocate heap space.
size
is an integer in the range 2048 through 2,147,483,684 that represents the number
of bytes to allocate for the CRE user heap.
HIGHPIN
HIGHPIN sets the HIGHPIN flag in an object file so that the object file can run at a high
PIN.
Note. The NMCOBOL compiler ignores this directive and issues a warning.
Default: Guardian environment: the heap is nonexistent by default.
PC and OSS environments: the heap is large by default and cannot be
made larger.
Placement: Anywhere
Scope: Applies to the compilation unit
Dependencies: Program must run in the CRE
Note. The NMCOBOL compiler ignores this directive and issues a warning. A native
HP COBOL program always runs at a high PIN.
HEAP size
VST738.vsd
HIGHPIN
VST284.vsd