default_cancel_mode

Specifies whether logical or physical cancels are used.

Syntax:
>>-----set default_cancel_mode---.-0-.-----------><
                                 +-1-+
Parameters:
0 Physical cancels: any program canceled during run time will be freed from memory, making more memory available.
1 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, the behavior of logical and real cancels is identical.

Properties:
Default: 1
IDE equivalent: Project > Properties > Program Loading > Enable program cache

Service Interfaces > Properties > Enterprise Server Run-time Configuration > Program Loading > Enable program cache

Related Topics: