CMPR - General Default Compression Optimization Algorithm

#### Search Results

Search

# CMPR - General Default Compression Optimization Algorithm

This Natural profile parameter enables the Natural administrator to define the general default compression optimization in order to preserve main storage for the sessions which are currently processing and to improve the performance of Natural.

In addition, the type of storage compression optimization can be defined specifically for individual buffer types, using the parameter `CMPR` of the `NTBUFID` macro in the `NATCONFG` module. The setting of this macro parameter overrides the general default setting of profile parameter `CMPR`. For further information, see Customization of Buffer Characteristics in the Operations documentation.

Possible settings | `OPT0` | Compression without optimization
`OPT1` | Compression with optimization of identical characters from the buffer used low end and high end.
`OPT2` | Compression with optimization by tiles with identical characters. The tile size is 128 bytes.
`(OPT2,nnn)` | Compression with optimization by tiles with identical characters. The tile size is a multiple of 128 bytes. `nnn` determines the tile size by multiplying with 128. Possible values: `1-255`. Example: `(OPT2,5)` yields a tile size of 640 bytes.
Default setting | `OPT2` | This is a synonym for `(OPT2,1)`.
Dynamic specification | yes |
Specification within session | no |