CDEVHDR - 512 (decimal) bytes:

+0000 00030141 42000000 00010000 0CFF5901 ...AB.........Y.

+0010 21F74901 19631500 EB071000 5CE90E00 !7I..c......*Z..

+0020 0B000000 00000000 30020000 00010500 ........0.......

+0030 00000000 00000000 00000000 00000000 ................

MAKBUF malloc L1TAB buffer of 264 bytes at 003B2860

READPOS seeking 1024 (0x00000400)

READPOS reading buf addr 003B2860 length 264 (0x00000108)

Figure 31: CCKDDIAG utility output

5.5 CCKDSWAP (CCKD D
ASD f
ile swap-endian program)

5.5.1 Function

The CCKDSWAP utility is the swap-endian program, it swaps the byte order of a CCKD file.

5.5.2 Syntax

Descriptive

CCKDSWAP filename

Diagram

Êʬ¬¬ CCKDSWAP ¬¬¬ filename ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ

5.5.3
Parameter

filename

The name of the CCKD DASD image file to have its byte order swapped.

5.5.4 Examples

Example 1:

Swap byte order for a CCKD DASD image file.

CCKDSWAP D:\MVS\DASD\MVSRES.CCKD

5.5.5 Sample Utility Output

Sample 1:

Swap byte order for a CCKD DASD image file.

D:\HERCULES>cckdswap D:\MVS\DASD\MVSRES.CCKD

Hercules cckd swap-endian program Version 3.05

(c)Copyright 1999-2005 by Roger Bowler, Jan Jaeger, and others

cckdswap: D:\MVS\DASD\MVSRES.CCKD changed from little-endian to big-endian

Figure 32: CCKDSWAP utility output

Previous Page Next Page