LOGICAL_CANCELS

This variable is used to enable logical cancels. Logical cancels reduce CALL overhead and can, as a result, improve performance. Cancels, both logical and physical (the default), are initiated by the CANCEL verb or through a function of the C interface. See Memory Management for more information on memory management and physical and logical cancels. See CANCEL Statement for more information on CANCEL.

LOGICAL_CANCELS can be set to the following values:

-1 (default) all cancels are physical cancels except for programs called from CICS that have the Resident attribute set to TRUE.
0      all cancels are physical cancels. Cancels of programs called with the C interface are treated as physical cancels even if the "cache" field is set to 1.
1 all cancels are logical cancels. Cancels of programs called with the C interface are treated as logical cancels even if the cache field is set to 0.

LOGICAL_CANCELS is used in conjunction with the DYNAMIC_MEMORY_LIMIT configuration variable, which specifies the size of the dynamic memory pool for programs. See its entry in this appendix.