Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
zlib for zEnterprise Data Compression z/OS MVS Programming: Callable Services for High-Level Languages SA23-1377-02 |
|
The zlib data compression library provides in-memory compression and decompression functions, including integrity checks of the uncompressed data. A modified version of the zlib compression library is used by zEDC. The IBM-provided zlib compatible C library provides a set of wrapper functions that use zEDC compression when appropriate and when zEDC is not appropriate, software-based compression services are used. The zlib wrapper functions use the following criteria to determine
if zEDC can be used for compression:
Once zEDC is used as the compression mechanism (for example, after
the first call to inflate or deflate the data stream is completed),
you cannot change the compression method to software-based compression
services. At the same time, if software-based compression services
are used as the compression mechanism (for example, after the first
call to inflate or deflate the data stream is completed), you cannot
change the compression method to zEDC.
Note: Once a data stream starts
using zEDC for compression, if a function is called that cannot be
supported by zEDC or the zEDC hardware becomes unavailable, the unsupported
function returns an error return code.
|
Copyright IBM Corporation 1990, 2014
|