Program Organization
This section contains a program description
of the DMKDDR module. DMKDDR xx is the return code from the CMS routine. Usage The DASD dump restore program. Attributes --Serially reusable. foint DMKDDREP. g! R1: Points to a parameter list when DMKDDR is executed under the
control of CMS. g! t
R15: Contains a return code when DMKDDR is executed under the control of CMS. The return codes are:
Return
Code -,--- 2
3
4 2xx 3xx 4xx A!!gjl!llg Invalid filename or file not
found.
Error while running the program. Flagged DASD track.
P-eraanent tape or DASn I/O error.
Error in the PRINTIO routine.
Error in the CON READ
routine.
Error in the RnBUF routine.
Error in the TYPLIN routine.
102 IBM VM/370 Service Routines Program Logic
RO: Work Register.
R1: Pointer to SCANCONT. inFut field froll R2:
R3:
R4:
R5:
R6:
R7: RS: R9 : R10: R11:
R12:
R
13:
R14:
R15:
Pointer to the output (PRINT/TYPE). Work register.
Input count fro. SCANCCNT. Unit address for STARTIO. buffer
Data block count (PRINT/TYPE). Work register.
End of current line (PRINT/TYPE). Work register.
Length of one line (PRINT/TYPE). Pointer to key (PRINT/TYPE). Work register.
Total length of data (PRINT/TYPE). Work register.
Data count (PRINT/TYPE). Number of records cn the track (PRINT/TYPE) Work register. Pointer to the extent table entry.
Current line pointer (PRINT/TYPE). Extent table entry size.
Last line pointer (PRINT/TYPE). Base register 5.
Base register 1.
Base register 2.
Base register 3.
Base register 4.
Return address Pointer to the lOB.
Directory
Figure 5-2 is an alphabetic list of the major labels in the DASD Duap Restore
program. The associated method of operation
diagrams are indicated and a brief
description is included of the operation
performed at the point in the program that
is associated with each label.
r-------------------------------------------------------------------------------------------, Label I Diagram I Description
ADDLINE Checks for duplicate line. BINCONV Converts decimal numbers to binary. BUlLDCCi Builds a CCW string to put the key/data fields into the
THR (track header record) BUILDTHR 5-3 Reads records from disk.
5-6
5-7 CLOSEJOB 5-3 Displays message indicating the end of a DDR function.
5-4 CLOSE1 CMS1 cssa COMPARE DASDWRIT DDR709
DDR714
DDR721
DDR724 DECCONV DISPIT DISPLAY DMKDDR DMKDDREP EO.! ERRCLOSE EXIT GETEXT GETR1
GETTHR
5-5
5-1
5-1
5-4
5-6
5-7
5-1
5-3
5-6
5-7
5-1
5-3
5-4
5-5
5-6
5-7
5-4
5-6
5-7
Closes the tape and reads another.
Builds a PLIST (parameter list) if parameters passed
from CMS. The end-of-job processing when trR is running under VM/370. Compares keywords. Writes records onto disk.
Issues DMKDDR709E message.
Issues DMKDDR714E message.
Issues DMKDDR721E message.
Issues DMKDDR724E message.
Converts decimal numbers to hexadecimal.
Displays the key/data message. Prints or types records. Start of the DMKDDR module.
Entry point to the DDR program. At the end of a DDB fUDction# returns control tc the
GTCARD routine.
Closes tape and reads alternate tape.
Returns to CMS command environment or enters wait state
at end of program.
Builds extent table.
Checks for records that need to te printed.
Reads tape records.
Figure 5-2. The DISD Dump Restore Program Label rirectory (Part 1 of 3)
Chapter 5. The DASD Dump Restore Program 103
Previous Page Next Page