Previous Topic Next topic Print topic


default_cancel_mode

Specifies whether logical or physical cancels are used.
Restriction: These tunables are supported for native COBOL only.

Syntax:

>>-----set default_cancel_mode---.-0-.-----------><
                                 +-1-+
                                 +-2-+

Parameters:

0 Physical cancels: any program canceled during run-time will be freed from memory, making more memory available.
1 Compatibility mode. As Logical cancels mode, except that .dll files or shared objects are physically canceled. This option is present for compatibility with older products.
2 Logical cancels: any program canceled during run-time will not be freed from memory. The program is available to be reused and hence the performance of CALL/CANCEL statements is greatly increased.

As far as your program is concerned, logical and physical cancels behave identically.

Properties:

Default: 2
IDE equivalent: Project > Properties > Micro Focus > Run-time Configuration > Program Loading > Enable program cache

For service interfaces, Service Interfaces > Properties > Enterprise Server Run-time Configuration > Program Loading > Enable program cache

Service > Settings > Enterprise Server Run-time Configuration > Memory Management > Enable program cache

Previous Topic Next topic Print topic