The value of this variable indicates the maximum number of bytes of dynamic memory that the ACUCOBOL-GT runtime will use to cache canceled programs when the logical cancel mechanism is enabled. When the total amount of memory exceeds the value of DYNAMIC_MEMORY_LIMIT, the runtime releases all memory held by programs that have been logically canceled.
Valid values are:
|-1||(the default) no memory limit. In transaction processing systems, memory used by programs that have been logically canceled is released only by the CICS transaction, CEMT SET PROGRAM(program_name) NEWCOPY|
|0||all cancels are physical; program memory is not cached|
|1 to 2147483647||the maximum number of bytes of dynamic memory|
Memory management and physical and logical cancels is in Memory Management, ACUCOBOL-GT Users Guide. DYNAMIC_MEMORY_LIMIT is used in conjunction with the LOGICAL_CANCELS configuration variable.