Previous Topic: SCAN CommandNext Topic: Additional Parameters Same as Implicit SCAN Command


COMPRESS Command

The COMPRESS command must be used to explicitly compress individual datasets.

The COMPRESS command syntax is:

COMPRESS SIMULATE,DSNAME=,VOLUME=,THRESHOLD=,EMPTY,USE,SHRINK,CONVERT,
ALLOCATE=,SPACE=,RESERVE,PASSWORD
DSNAME=

This parameter designates the name of the PDS to be compressed.

VOLUME=

This parameter must be supplied when the PDS is not cataloged. If the PDS is SMS managed, the USE parameter must also be specified. Otherwise, the data set will be bypassed.

SPACE=

Use this parameter when you want to provide absolute values (rather than percentages) for the new space allocation of a PDS.

Note: The use of the SPACE= parameter will force the compression of empty datasets, whether the EMPTY parameter is specified or not.

Specify this parameter with one of the following literal values:

Note: For any type of block allocation, the block size is obtained from the data set's format-1 DSCB. If the block size is 0 (or greater than the maximum block size for the device), the block size is assumed to be the maximum for the new device; therefore the new allocation will be the same number of tracks as the number of blocks specified.

Literal Value

Redefines Allocation to

CYL

Cylinder request

CYLCTG

Cylinder with CONTIG request

TRK

Track request

TRKCTG

Track with CONTIG request

BLK

Average block length request

BLKCTG

Average block length with CONTIG request

RND

Average block length with ROUND request

RNDCTG

Average block length with CONTIG and ROUND request

Literal Value

Redefines Allocation to