COMPR - Set RPC Buffer Compression

#### Search Results

Search

# COMPR - Set RPC Buffer Compression

This Natural profile parameter can be used to set the RPC buffer compression.

Possible settings | `0` | No compression will be performed.
`1` | The send buffer contains modifiable fields and output fields and the format buffer. The reply buffer contains modifiable fields and input fields.
`2` | Same as `COMPR=1`, additionally the reply buffer also contains the format buffer.
Default setting | `1` |
Dynamic specification | yes |
Specification within session | yes | At runtime, this value can be overwritten using the Parameter Maintenance function of the SYSRPC utility.

Notes:

1. `COMPR` is specified on the client side only.
2. `COMPR` is effective only, if the automatic Natural RPC execution is used (`AUTORPC``=ON`) and the `CALLNAT` is executed without an interface object. If an interface object is used, the compression has already been set during interface object generation. For details, see Using Compression in the Natural RPC (Remote Procedure Call) documentation.
3. For further information, see the Natural RPC (Remote Procedure Call) documentation.