5.3 CCKDCOMP (CCKD DASD f
ile compression utility)

5.3.1 Function

The CCKDCOMP utility removes all free space from a compressed or shadow CKD DASD emulation file.
If level is specified then the CCKDCDSK utility is called first with the specified level; this is a short-hand
method to call both functions in one utility call.

5.3.2 Syntax

Descriptive

CCKDCOMP [-option [-option ... ]] filename

Diagram

Êʬ¬¬ CCKDCOMP ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬ filename ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ








-option ¬¬¬¨¬¬¬¯


5.3.3 Parameter

options:

-v

Display version information and then exit.

-f

Force check even if OPENED bit is on.

-level

The level of checking that is to be performed. The higher the level the longer the
integrity check takes. The level is any number from 1 - 4.

- Level 1 performs a minimal check. Device headers are verified, free space is veri-
fied, primary lookup table and secondary lookup tables are verified.

- Level 2 performs a normal check. These are the same checks as in level 1 plus all
5-byte track headers are verified.

- Level 3 performs the maximum checking. These are the same checks as in level 1
plus all track images are read, uncompressed and verified.

- Level 4 recovers everything.


arguments:

filename

Name of the DASD image file to be compressed.

5.3.4 Examples

Example 1:

Compress a CCKD DA
SD f
ile.

CCKDCOMP D:\MVS\DASD\MVSRES.CCKD

Example 2:

Compress a CCKD DASD file and perform integrity checking and repair.

CCKDCOMP -3 D:\MVS\DASD\MVSRES.CCKD

5.3.5 Sample Utility Output

Sample 1:

Compress a CCKD DASD file and perform integrity checking and repair.

D:\HERCULES>cckdcomp -3 D:\MVS\DASD\MVSRES.CCKD

cckdcomp: completed: moves 33665 moved 301552856 freed 407400

Figure 30: CCKDCOMP utility output

Previous Page Next Page