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
Data Areas
This section contains descriptions of the
DASD record fermats and the layout of these
DASD records fer: 2305 Models 1 and 2 2314/2319 devices 3330 series 3340 series 3350 series
Record 0 is the standard 8-byte data area, set to 0 except fer cylinder O. On cylinder 0, pages are flagged
as For 2305, 2314/2319, 3330, 3340, and 3350 in compatil:ility
lIode: .-- I I EO 00 00 00 00 00 cc CO I I For 3350 in native mode only: FO 00 00 00 00 00 00 OC Figure 3-3. Record 0 Format Chapter 3. The Format Service Program 71
Previous Page Next Page