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

►►<br />

PRint<br />

TYpe<br />

cyl1<br />

This example restores data previously dumped from an FBA device to another FBA<br />

device with device number 250. Blocks 10 through 20 stored on the tape are<br />

restored to the DASD on blocks 30 through 40.<br />

If cylinder or block extents are being defined from the console, the user need only<br />

enter DUMP, COPY or RESTORE on the comm<strong>and</strong> line. The following is displayed:<br />

ENTER CYLINDER EXTENTS<br />

ENTER:<br />

or<br />

block1<br />

ENTER BLOCK EXTENTS<br />

ENTER:<br />

For any extent after the first extent, the following message is displayed.<br />

ENTER NEXT EXTENT OR NULL LINE<br />

ENTER:<br />

You may then enter additional extents to be dumped, restored, or copied. A null line<br />

causes the job step to start.<br />

Notes:<br />

1. When a cylinder map is printed on the virtual printer (00F as in the previous<br />

example) a heading precedes the map information. DDR displays the disk, time<br />

<strong>and</strong> zone in the heading.<br />

2. Attempts to restore cylinders or blocks beyond the capacity that were recorded<br />

on the tape produces a successful EOJ, but the printout only indicates the last<br />

cylinder or block found on the tape.<br />

PRINT/TYPE Function Statement<br />

hh1<br />

To<br />

rr1<br />

block2<br />

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

To<br />

cyl2<br />

hh2<br />

Use the PRINT <strong>and</strong> TYPE function statement to print or type (display) a<br />

hexadecimal <strong>and</strong> EBCDIC translation of each record or block specified. The output<br />

is directed to the system console for the TYPE function, or to the SYSPRINT device<br />

for the PRINT function. (This does not cause redefinition of the output unit<br />

definition.)<br />

A tape in a compact format may be used as input to the PRINT or TYPE function.<br />

The printed or displayed output is not affected by the input format. You do not need<br />

to specify anything to the program about the format of the input tape.<br />

cyl1<br />

the starting cylinder. Up to an 8-digit cylinder value is accepted.<br />

hh1<br />

the starting track. If present, it must follow cyl1. The default is track zero.<br />

rr2<br />

(<br />

Count<br />

Graphic<br />

Hex<br />

)<br />

►◄

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

Saved successfully!

Ooh no, something went wrong!