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: Use the Application.config file of the project - right-click the file in Solution Explorer and click Open, then select the Run-time Configuration tab.
Previous Topic Next topic Print topic