Input o Control Cards
Notes Module 1 The messages DMKFMT
ENTER ALLOCATION DATA FOR VOLUME xxxxxx
type cyl cyl ..........
are displayed.
2 If the Allocate control statements DMKFMT
are entered via a card reader, the
switch (CDSW2) contains X'FF'. Control is transferred to the
GETCARD routine which reads the
cards. The CONSINT and VALIDATE
routines verify the control statements
and allocate processing resumes at the label REREAD. There is a branch
and link to the RMSG routine to
read from the console. The console
read is not performed in this case
because CDSW2 is X'FF'. If the allocate control statements are
entered via the console, the switch (CDSW2) contains X'OO'. The control
statements are read from the console
by branching and linking to the RMSG routine.
3 The address of the cylinder byte map DMKFMT
is loaded into register 9. The total number of cylinders specified is loaded
into register 8. The cylinder byte
map is updated for each of the
specified cylinders according to the
type indicated in the control state· Processing Output Display allocate message.
>
2 Read allocate control statements. l:JF I ENTER ALLOCATION DATA FOR VOLUME xxxxxx
3 Update Allocation Table. 4 At end of allocation, indicate the results. Table I 1111 : I AI,location I ALLOCATION RESULTS Label Ref Notes Module Label Ref ALLOCATE ment. Control Indication in
Statement Cylinder Byte Map
TEMP X'OO' PERM X'Ol' TDSK X'02' GETCARD DRCT X'04' CONSINT The map is printed after the END
statement is processed.
VALIDATE
4 The message DMKFMT FINI REREAD ALLOCATION RESULTS followed by the type corresponding
to the allocated cylinders is displayed. Finally, the message DEVICE xxx VOLUME xxXxxx ALLOCATION ENDED
REREAD
is displayed. RMSG AOKALL I INDIC Diagram 3-3. The Allocate Function
68 IBM VM/370 Service Routines Program Logic I
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
Previous Page Next Page