5.2 CCKDCDSK (
CCKD D
ASD f
ile integrity verification, recovery and
repair utility)

5.2.1 Function

The CCKDCDSK utility performs compressed or shadowed CKD DASD emulation file integrity verification
and recovery and repair. Calling the utility without any arguments will display a help information.

5.2.2 Syntax

Descriptive

CCKDCDSK [-option [-option ... ]] filename

Diagram

Êʬ¬¬ CCKDCDSK ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬ filename ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ







-option ¬¬¬¨¬¬¬¯


5.2.3 Parameter

options:

-v

Display version information and exit.

-f

Force check, even if OPENED bit is on.

-ro

Open the DASD file read-only, no repairs are done.

-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 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

Previous Page Next Page