Version 7.4.4
 —  Utilities  —

Functional Overview

This document covers the following topics:


Overview of the COMPRESS Function

The COMPRESS function edits and compresses data records that are to be loaded into the database:

graphics/cmp3_pfeilsyn.png

Input can be data records from

The logical structure and characteristics of the input data are described with field definition statements:

The field definitions provided are used to create the Adabas field definition table (FDT) for the file. It is also possible to use an existing Adabas FDT instead of providing field definitions (see the FDT parameter description in the COMPRESS Optional Parameters and Subparameters section).

If the fields in the input record are to be processed in an order that is different from their position in the input record, and/or if one or more fields are to be skipped, the FORMAT parameter may be used to indicate the order and location of the input fields.

The ADACMP COMPRESS function processes the input data as follows:

Fields defined with the fixed (FI) option are not compressed.

A user exit can be used to further edit the input data.

The output of the ADACMP COMPRESS function that is used as input to the ADALOD utility includes the FDT, compressed records, and on the utility report, the Data Storage space requirement (for the ADALOC DSSIZE parameter) and the temp and sort dataset size estimates (TEMPSIZE and SORTSIZE).

The ADACMP COMPRESS function report also indicates

A dataset containing rejected records is also produced.

Top of page

Overview of the DECOMPRESS Function

The DECOMPRESS function decompresses individual files:

graphics/cmp3_pfeilsyn2.png

Input data can be data records from existing Adabas files

The INFILE parameter of ADACMP DECOMPRESS is used for Adabas files that are directly decompressed. As part of the decompression process, the target file is unloaded without FDT information, which can save time when decompressing larger files.

The output of the ADACMP DECOMPRESS function includes ISNs if the ISN parameter is specified. The DECOMPRESS output may be used as input to a non-Adabas program or as input to the COMPRESS function, once any desired changes to the data structure or field definitions for the file are completed.

Top of page