Program Organization DMKFMT A standalone program that formats,
allocates, and labels all (or part) of
2314, 2319, 3330, 3340, 3350 series, and
2305 series direct access storage devices
for VM/370 use. None RO-1 0:
R11:
R12:
R14:
R14: R 15: ]sage Scratch
3rd tase register
2nd tase register
Scratch
Linkage register
1st rase register
Chapter 3. The Por.at Service Prcgraa 69
Directory
Figure 3-2 is an alphabetical list of the
major labels in the Format/Allocate
program. The associated method of operation
diagram and a brief description of the
function performed at the point in the
program indicated by each label are
included in the list.
Label ALLOCATE ALTTRACK AOKALL CHECKO CLEANUP CONSINT DEVICEAD DEVTYPE DMKFMT ERRECOV FATAL
FINI FMT FORMAL GETCARD GRAPHID INDIC IOINT LAB
LABELRD LABONLY MCRTN NEIT ORCHK PRINTALL READER06 REGFORM1 REREAD RESUMP RMSG SELECT SENSIT SENSIT2 STIO STMSG STORE VALIDATE WMSG IBIN
Diagram
3-3
3-3
3-2
3-2
3-1
3-3
3-1
3-1
3-1
3-3
3-2
3-1
3-3
3-3
3-2
3-1
3-1
3-1
3-2
3-2
3-3
3-2
3-3
3-1
3-2
3-1
3-2
3-1
3-3
Description
Performs the allocate function of the Format program.
Performs alternate track recovery for 3340/3344.
Locates the cylinder byte map. Writes system records on cylinder O. Summarizes the errors encountered while formatting the disk.
Processes console interruFts. Displays the prompter message requesting the device address.
Displays the prompter message requesting the device type.
Initializes the Format program.
Performs DASD error recovery.
Displays the termination message and reads the next control statement.
Displays the cylinders just allocated with the type of
allocation.
Initializes cylinder 0 for formatting by first
reading any existing OS Format 4 label.
Displays the starting cylinder or latel message.
The main control routine. It reads control statements from the reader or transfers control to the SELECT routine to issue prompter messages.
Handles input and output operations for display terminals. Updates the cylinder byte map to reflect the type of allocation
for each cylinder.
Handles I/O interrupts and retries errors.
Displays the prompter message requesting the device label.
Reads and verifies the volume latel.
Rewrites the volume label (record 3) and nothing else.
Processes machine checks.
Displays end of cylinder message. Processes program checks.
Displays the allocation table on the terminal. Updates the page bit map to indicate a tad surface.
Initializes the format function when cylinder 0 is not
included.
Reads control statements from the console for the allocate
function. Updates the record number during the format operation.
Reads from the typewriter terminals.
Prompts the operator to enter the appropriate ccntrol
statement.
Gets sense information.
Displays the sense information.
writes and verifies page size records during format operation.
Displays the program title. Sets up CCW string to format cylinder O. Checks control statements entered through a card reader
for accuracy.
Displays messages on the terminal. Converts hexadecimal numbers to tinary. Figure 3-2. The Format/Allocate Program Label Directory 70 IBM VM/370 Service Routines Program Logic
Previous Page Next Page