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
, Latel Diagram Description I ---------------------------------------------------------------------------------1 SCANUNIT SETDASD
SET END SETEXT SETUPBUF SKIPMSG STARTIO SUPMSG TESTCARD TESTCMS TESTEND TESTIN TESTNPAG TESTOUT TRANS TRKCOND TSTCOUNT UPDTADD UPDTEXT WDSIO 5-4
5-1
5-3
5-3
5-4
5-5
Scans the device table (TAELE2). Checks volume serial number of output disk. Prints the cylinder map at end-of-job. Picks up the cylinder numter that starts the next extent. 1 Clears the print buffer. Prints record overflow message.
Starts I/O devices. Prints the suppress line message.
Checks for card input at end-of-job.
Exits by entering wait state when DDR program is running
standalone.
Terminates when blank card read.
Checks for tape input.
Skips printer to channel 1. writes tape output records.
Translates data to printatle characters.
Recovery procedure for track condition check (alternate
track). Prints the end of the track. Updates disk addresses.
Restores entire track. Writes the THR (track header record). 1 Figure 5-2. The DASD Dump Restore Program Label Iirectory (Part 3 of 3)
Chapter 5. The D1SD Du.p Restore Progra. 105
Previous Page Next Page