5.4 CCKDDIAG (CCKD D
ASD f
ile diagnostics utility)

5.4.1 Function

The CCKDDIAG utility is the diagnostic program which allows you to examine various aspects of a CCKD
DASD image file.

5.4.2 Syntax

Descriptive

CCKDDIAG [-option [-option ... ]] filename

Diagram

Êʬ¬¬ CCKDDIAG ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬ filename ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ







-option ¬¬¬¨¬¬¬¯

5.4.3
Parameter

options:

-v

Display version information and then exit.

-d

Display DEVHDR.

-c

Display CDEVHDR.

-1

Display L1TAB.

-g

Enable debug output.


CKD track related options:

-a cc hh

Display absolute cchh data.

-r tt

Display relative TT data.

-2

Display L2TAB related to -a or -r.

-x

Hex display track / key data.

offset option:

-o oo ll

Hex display data at offset oo of length ll.


arguments:

filename

The name of the DASD image file to be compressed.

5.4.4 Examples

Example 1:

Display the DEVHDR and CDEVHDR for a CCKD
DASD i
mage file.

CCKDDIAG -d -c D:\MVS\DASD\MVSRES.CCKD

Example 2:

Display the L1TAB and enable debug output for a CCKD DASD image file.

CCKDDIAG -1 -g D:\MVS\DASD\MVSRES.CCKD

Example 3:

Display relative TT data for a CCKD DASD image file.

CCKDDIAG -r 15 D:\MVS\DASD\MVSRES.CCKD

5.4.5 Sample Utility Output

Sample 1:

Display the DEVHDR and CDEVHDR for a CCKD DASD image file and additionally enable debug output.

D:\Hercules>cckddiag -d -c -g D:\MVS\DASD\MVSRES.CCKD

READPOS seeking 0 (0x00000000)

READPOS reading buf addr 0012FA68 length 512 (0x00000200)

DEVHDR - 512 (decimal) bytes:

+0000 434B445F 43333730 1E000000 004C0000 C.D^C370.....<..

+0010 50000000 00000000 00000000 00000000 &...............

+0020 00000000 00000000 00000000 00000000 ................

3350 device has 30 heads/cylinder

READPOS seeking 512 (0x00000200)

READPOS reading buf addr 0012FC68 length 512 (0x00000200)

Previous Page Next Page