Using the Standalone Batch Compression Utility

Before you begin

To invoke the standalone batch compression utility (cdsacomp), type the following command at a UNIX prompt:

cdsacomp

Following are the parameters for the cdsacomp utility:

Parameter

Description

Values

 

 

 

-m

Specify which mode to use: precompress

compress decompress

 

or decompress. This argument is

The default is compress.

 

required.

 

 

 

-i

Specify the input file to precompress or

full or relative path of input file

 

decompress. This argument is required.

 

 

 

 

-o

Specify the output file to save. If the

full or relative path of output

 

output file already exists, it is

file

 

overwritten. This argument is required.

 

 

 

 

-z

Use this option with “-m compress” to

level, window, memory

 

override default compression values. This

level—Compression level.

 

argument is optional.

 

 

The range is 1–9. The default

 

When decompressing, the values used

is 1.

 

during compression are used.

1—Provides the least

 

 

 

 

compression, but is the

 

 

fastest.

 

 

9—Provides the most

 

 

compression, but is the

 

 

slowest.

 

 

window—The size of the

 

 

compression window and

 

 

history buffer. Increasing the

 

 

window increases the

 

 

compression, but uses more

 

 

virtual memory. The range is

 

 

9–15. The default is 13.

 

 

memory—The amount of

 

 

virtual memory to allocate.

 

 

The range is 1–9. The default

 

 

is 4.

 

 

1—Uses the least virtual

 

 

memory.

 

 

9—Uses the most virtual

 

 

memory.

 

 

 

-x

Use this option to translate the file.

full path to translate table file

 

If this parameter is not specified, the file

relative path to translate

 

table file

 

is not translated.

 

 

This parameter is mutually exclusive

 

 

with -codepage.

 

 

 

 

Chapter 3. Sterling Connect:Direct Utilities 49

Page 55
Image 55
IBM 4J manual Using the Standalone Batch Compression Utility, Following are the parameters for the cdsacomp utility