DDR
2. to restore cylinders beyond the capacity that had been
recorded on the tape produces a successful EOJ, but the printout
only indicates the last cylinder found on the tape. Use the PRINT and TYPE function statement to print or type (display) a
hexadecimal and EBCDIC translation of each record specified. The input
device must be defined as direct access. The output is directed to the
system console for the TYPE function, or to the SYSPRINT device for the PRIN'1" function. (This does not cause redefinition of the output unit
definition., The format of the PRINT/TYPE control statement is:
r----------------------------------------------------------------------, I PRint I cyll [hhl (rrl]] (To cy12 [hh2 [rr2 ]]] [(options ••• [)]] I I TYpe I I I I QE1ion§: , I , [Hex] [Graphic] [Count] I cVll is the starting cylinder.
hh 1
rr 1
is the starting track. If present, it must follow the cyll
operand. The default is track zero.
is the starting record. If present, it must follow the hhl
operand. The default is home address and record zero. TO cy12 is the ending cylinder. If more than one cylinder is to be
printed or typed, "TO cy12" must be specified.
hh2 is the ending
operand. The
cylinder.
track. If
default
present, it must
is the last track
follow the cy12
on the ending
rr2 is the record ID of the last record to print. The default is
the last record on the ending track. HEX prints or displays a hexadecimal representation of each
record specified. COUNT prints or displays an EBCDIC translation of each record
specified.
prints or displays only the count field for each record
specified.
If the TYPE statement follows the occurrence of error message DMKDDR705E
and specifies the same cylinder, track, and record extents indicated in
the error message, the contents of the printed record must be
interpreted in the context of the I/O error information given in the
in it ial message.
52 IBM VM/37Q CMS Command and Macro Reference
DDR PRINT 0 TO 3
Prints all of the records from cylinders 0, 1, 2, and 3. PRINT 0 1 3
Prints only one record, from cylinder 0, track 1, record 3. PR INT 1 10 3 TO 1 15 4
Prints all records starting with cylinder 1, track 10, record 3, and
ending with cylinder 1, track 15, record 4.
The example in Figure 6 shows the information displayed at the
console (TYPE function) or system printer (PRINT function) by the DDR
program. The listing is annotated to describe some of the data fields.
DMKDDR711R VOLID READ IS volid2 (NOT volidl]
volid2
vol id 1 DO YOU WISH TO CONTINUE? RESPOND YES NO OR REREAD:
is the volume serial number from the VOLl label on the DASD unit.
is the volume serial number from the INPUT or OUTPUT control card. volume serial number read from the device at cuu is not the
same as that specified on the INPUT or OUTPUT control card.
DMKDDR716R NO VOLl LABEL FOUND FOR volser
volser DO YOU WISH TO CONTINUE? RESPOND YES NO OR REREAD:
is the volume serial number of the DASD device from the INPUT or the OUTPUT control card.
The DASD device at cuu contains no volume serial number.
DMKDDR711R DATA DUMPED FROM volid1 TO BE RESTORED TO volid2 DO YOU WISH TO CONTINUE? RESPOND YES NO OR REREAD:
volid 1
volid2
is the volume serial number from the input tape header
record (volume dumped) is the volume serial number from the output DASD device.
The above message is printed to verify the input parameters.
ENTER CYLINDER EXTENTS ENTER:
This message is received only if you are entering input from your terminal. Section 2. eMS Commands 53
Previous Page Next Page