27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DDR<br />

Home address<br />

record 0<br />

Record 1<br />

Cylinder <strong>and</strong> head<br />

identification<br />

Record 0<br />

CYL 00000019<br />

HD 00 HOME ADDRESS 0000130000 RECORD SIZE 0013000000 00 0008 00000000 FFFFFFFF<br />

04096 1000 DATA LENGTH<br />

00000 0000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000<br />

1st half of<br />

SUPPRESSED CHARACTERS SAME AS ABOVE...<br />

record 2 CYL 00000019 HD 00 REC 002 COUNT 0013000002 00 09A8 NOTE: The data length field is<br />

02472 09A8 DATA LENGTH<br />

repeated in heading.<br />

00000 0000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000<br />

SUPPRESSED CHARACTERS SAME AS ABOVE...<br />

ABOVE RECORD WRITTEN USING RECORD OVERFLOW<br />

B<br />

B This statement indicates that this portion of record 2<br />

was written using the Write Special Count, Key, <strong>and</strong><br />

Data comm<strong>and</strong>. The remainder of record 2 is found<br />

Home address<br />

record 0<br />

2nd Half of<br />

record 2<br />

Record 3<br />

Record 4<br />

CYL 00000019<br />

HD 00 REC 001<br />

Cylinder, head,<br />

<strong>and</strong><br />

record numbers in<br />

CYL 00000019 HD 01 HOME ADDRESS 0000130001 RECORD ZERO 0013000100 00 0008 00000000 00000000<br />

CYL 00000019 HD 01 REC 002 COUNT 0013000102 00 6558<br />

01624 0658 DATA LENGTH<br />

00000 0000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000<br />

SUPPRESSED CHARACTERS SAME AS ABOVE...<br />

C<br />

If the key length field is not zero:<br />

A heading is printed containing the length<br />

first in decimal, then in hexadecimal.<br />

CYL 00000019 HD 01 REC 003 COUNT 0013000103 80 0F80<br />

00128 0080 KEY LENGTH<br />

00000 0000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000<br />

SUPPRESSED CHARACTERS SAME AS ABOVE...<br />

03968 0F80 DATA LENGTH<br />

00000 0000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000<br />

SUPPRESSED CHARACTERS SAME AS ABOVE...<br />

CYL 00000019 HD 01 REC 004 COUNT 0013000104 00 0000<br />

END OF FILE RECORD<br />

D<br />

For FBA device data, the utility first prints or types a heading that indicates the<br />

block number <strong>and</strong> then prints or types the 512 bytes of data residing in that block.<br />

This output will look as follows:<br />

ENTER:<br />

type 1<br />

BLOCK 00000001<br />

Home address of track<br />

in hexadecimal format<br />

Record ID<br />

(hexadecimal)<br />

C<br />

Key Data<br />

Length Length<br />

(hexadecimal)<br />

Record 0 ID from<br />

the count field<br />

COUNT 0013000001 00 1000 A<br />

00000 0000 C3D4E2F1 D7D9D6D7 C5D90000 (Con’t)<br />

00000200 00000004 000002E8 000002E8 (Con’t)<br />

000002E8 *CMS1PROPER.............Y...Y...Y*<br />

00032 0020 00000005 00000040 00000008 (Con’t)<br />

91031317 26230000 00000000 00000001 (Con’t)<br />

Key<br />

Length<br />

Data<br />

Length<br />

(hexadecimal)<br />

A<br />

Data<br />

(hexadecimal)<br />

If the data length field is not zero:<br />

A heading is printed containing the<br />

data length from the count field - first<br />

in decimal, then in hexadecimal.<br />

The data is then printed in<br />

hexadecimal with graphic<br />

The key is then printed in hexadecimal<br />

with graphic interpretation at the right<br />

(not shown here).<br />

Figure 1. An Annotated Sample of Output from the TYPE <strong>and</strong> PRINT Functions of the DDR Program<br />

1810 z/<strong>VM</strong>: <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Reference</strong><br />

Whenever the data length field is zero<br />

D<br />

an end-of-file prints next.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!