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
Label GOSUB1 GRIPBID GTCARD BEICONV INOUTER LASTONE LOOP12 LOOP13 KSGiRITE KSG004 NEiADD NEITCYL NEXTREC NEXTTCK NOSTART OK OPENDASD OPENIN OPENOUT PBUFFER PDATI PRINTDAT PRINTB PRINTER1 PRINTER2 PRINT1 PRINT2 READCONT
READCT READKEYD RETURN SAVECT SCANCONT SCANCOPY SCANDUKP SCANINPU SCANNAME SCANOUTP SCANPRIN SCANREST SCANSYSP SCAN TYPE I Diagra. I 5-1
5-3
5-4
5-5
5-6
5-1
5-3
5-4
5-5
5-6
5-1
5-3
5-4
5-5
5-3
5-4
5-5
5-2
5-2
5-2
5-2
5-2
5-2
5-2
5-2
Description
Gets the next record.
BandIes I/O for display terminals. Reads control cards.
converts hexadecimal nu.bers to deci.al.
BandIes tape and DISD errors.
Checks for last record.
Checks for last record to be displayed.
Deter.ines the starting address.
Displays .essages on the terminal. Prints message indicating start of Du.p, Restore, Copy,
or Print function.
Prints heading when DDR prograa running standalcne. Updates pointer to next cylinder. Updates pointer to next record. Updates pointer to next track. Sets up starting address for tKKIDR121E .essage. Points to read CClis to read TBR. Opens a DASD. Opens input devices.
Opens output devices. Points to the print buffer. Sets up print pOinter. Prints the data.
prints function heading. Updates the printer line count. Spaces the printer twice.
Checks that device type is console.
Displays message on console.
Reads control statements.
Reads the home address, record 0, and the count fields.
Reads the key and data records.
Reorders the cylinder nu.ter. Saves the printer line count. Scans control statements for next operand. Scans the COpy function statement. Scans the DUMP function statement. Scans the INPUT control statement. Scans the name table (TIEL!1) for a matching control
statement name. Scans the OUTPUT control statement. Scans the PRINT function statement. Scans the RESTORE function state.ent. Scans the SYSPRIBT control statement. Scans the TYPE function statement.
Figure 5-2. The DASD Du.p Restore Program Label tirectory (Part 2 of 3) 104 IBM VM/370 Service Routines Program Logic
Previous Page Next Page