arguments:

filename

Name of the CCKD DASD image file to be checked.

5.2.4 Examples

Example 1:

Perform a minimal checking of a CCKD DASD file without doing any repairs.

CCKDCDSK -0 –ro D:\MVS\DASD\MVSRES.CCKD

Example 2:

Perform a maximum level check and repair of a CCKD DASD file and force the check even the OPENED
bit is set on.

CCKDCDSK -r –f D:\MVS\DASD\MVSRES.CCKD

5.2.5 Sample Utility Output

Sample 1:

Perform a maximum level check and repair of a CCKD DASD file and force the check even the OPENED
bit is set on.

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

size 301956072 used 301956072 free 0 imbed 0 first 0x0 number 0

Figure 29: CCKDCDSK utility output

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.

Previous Page Next Page