I --'- ____ -'\ 2 Dump the disk records to tape. 8 I Open the files. ----) 3 1 16 END OF DUMP I Notes
1 The input disk is opened by branching
and linking to the OPENDASD routine. The extent table is updated
to define the cylinders to be
dumped. Each statement the extent table untIl a null line, an INPUT statement, or OUTPUT statement is read.
The output tape is opened, the
proper number (if any) of records
is skipped and the volume header
record (VHR) is written.
2 Prints the headings indicating the
function being performed and the
date and time of the dump.
The read, write, and update cycle
continues until the indicated disk
extents are dumped to tape. Starting
at the first disk extent (CYLSTART),
the disk records are read. The
record is written on tape and the
pointers are updated to the next disk
record. The dump cycle continues until the last disk extent CYLSTOP is dumped to tape.
3 The message
END OF DUMP
indicates that the dump function has successfully terminated.
Print message.
4 Close tape. Module Label Ref
DMKDDR OPENIN GETEXT IOPE"auT I I DMKDDR PRINTH MSGOO4 BUILDTHR TESTOUT UPDTADD
DMKDDR CLOSEJOB Diagram 5-3. The DumF Function II II Notes
4 The trailer record is written on the
output tape. If the tape disposition
was specified on the DUMP control statement, the tape is so positioned
now. Control returns to the control statement read routine (GTCARD)
to read and process the next control statement.
Module
DMKDDR Label Ref EOJ Chapter 5. !he DASD Dump Restcre Program 97
Input Processing
Open the files.
2 Restore the records to disk.
3 End the restore function.
o
>
END OF RESTORE Notes Module Label Ref Notes Module Label Ref
1 The input tape is opened and position· DMKDDR PPENIN ed if the RESTOR E control statement
The operator must determine if the
restore function is to continue.
specified that records were to be
skipped. The read and write loop continues PETTHR A check is made to ensure that the SETDASD output disk has the correct volume
until all the specified cylinders are PASDWRIl restored to disk. The tape records
are read from the tape that has been
serial number. If the volume serial positioned. The data is written on UPDTADD
number is incorrect, the message on the indicated disk cylinders
DMKDDR717R DATA DUMP
FROM xxxxxx TO BE
and the pointers to the disk are up-
dated for the next record. The RESTORED TO xxxxxx
is displayed. The operator must decide
restore function is complete when the last cylinder (CYLSTOP) is restored.
if the restore function is to continue.
3 The message DMKDDR k:LOSEJOB The extent table is updated to indicate IGETEXT END OF RESTORE the cylinders to be restored to disk. is displayed and control returns to
the GTCARD routine to read the
The output disk is opened by !OPENOUT next control statement.
branching and linking to the OPENDAS[ routine.
2 The headings are printed, indicating DMKDDR PRINTD that the restore function is starting. The number of cylinders on the original DASD input device is compared with the
number of cylinders on the DASD output device. If the input device
was larger, the following message is
issued:
DMKDDR725R ORIGINAL INPUT DEVICE WAS(lS) LARGER
THAN OUTPUT DEVICE Diaqram 5-4. The Restore Function
98 IBM VM/370 Service Routines Program Logic
Previous Page Next Page