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 indicatedby each label are
included in the list.
LabelALLOCATE ALTTRACK AOKALL CHECKO CLEANUP CONSINT DEVICEAD DEVTYPE DMKFMT ERRECOV FATAL
FINIFMT FORMAL GETCARD GRAPHID INDIC IOINT LAB
LABELRDLABONLY 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 consoleinterruFts. Displays the prompter message requesting the device address.
Displays the prompter message requesting the device type.
Initializes the Format program.
PerformsDASD error recovery.
Displays the termination message and reads thenext control statement.
Displays the cylinders just allocated with the type of
allocation.
Initializes cylinder0 for formatting by first
reading anyexisting OS Format 4 label.
Displays the starting cylinder orlatel message.
Themain 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.
HandlesI/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 cylindermessage. 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 cylinder0 is not
included.
Reads control statements from the console for the allocate
function.Updates the record number during the format operation.
Readsfrom 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 theprogram 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
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
included in the list.
Label
FINI
LABELRD
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.
Processes console
Displays the prompter message requesting the device type.
Initializes the Format program.
Performs
Displays the termination message and reads the
Displays the cylinders just allocated with the type of
allocation.
Initializes cylinder
reading any
Displays the starting cylinder or
The
Handles input and output operations for display terminals.
for each cylinder.
Handles
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
Displays the allocation table on the terminal.
Initializes the format function when cylinder
included.
Reads control statements from the console for the allocate
function.
Reads
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
for accuracy.
Displays messages on the terminal.