Page of GC20-1806-9 As Updated April 1, 1981 by TNL GN25-0834 TEMP, PERM, TDSK, and DRCT are all functions of ALLOCATE. These
cards can follow the ALLOCATE control statement in any sequence. Each
card in turn overlays the cylinder table, and any space not reallocated
remains the same. If an ALLOCATE function overlays the cylinder allotment, then the previous cylinder space allotment is
truncated to the beginning of the next cylinder allotment. For example:
Disk storage
Allocation 1st-Entry TEMP- 2nd Entry PERM 3rd Entry TDISK 4th Entry DRCT
5th Entry END
First
Cylinder 000 010 040 000 1.ast Cylinder· 202 050 050 004 The result of this disk volume allocation is:
Disk storage
__ !!!Q£Ation _
DRCT TEMP PERM TDSK TEMP First
Cylinder 000 005 010 040 051 Last
Cylinder 004 009 039 050 202 Once an ALLOCATE control statement is encountered, all cards
following it until an END card is encountered are assumed to be part of
a single allocation. The Format/Allocate service functions cannot be
performed on another disk volume until the END card is encountered. Any
area not allocated will default to "TEMP" space. (See Figure 10.) Note, however that if the allocation extent map does not cover the
entire volume (as could be the case if the volume was copied from a
smaller volume or minidisk) the remainder of the volume is allocated as PERM space.
Note: Reallocation of a directory cylinder containing an active VM/370 aIrectory deallocates the directory to allow a new directory to be
written on the same cylinder. After reallocation, the Directory program
must be executed to reinitialize the directory pointer. If this is not
done, when you initialize (via IPL), your program will abend (ABEND CPI002). The format of the LABEL control statement is:
FORMAT,devadr,devtype,volser,LABEL
where:
devadr
devtype
is a three-digit hexadecimal number that identifies the
address of the device that the Format/Allocate program is
to act upon. Valid device addresses under CMS are X'001' to X'5FF' for ECMODE OFF and X'001' to X'FFF' for ECMODE ON.
is a character field that defines an approved
device for the Format/Allocate program. Approved device
types are 2314, 2319, 3330, 3330-11, 3340, 3340-35, 3340-70, 3350, 2305-1, and 2305-2. Specify a 3350 device
in 3330-1 compatibility mode as a 3330, and a 3350 in 3330-11 compatibility mode as a 3330-11. Specify a 3333 as
a 3330, and 3340-70F or 3344 as 3340-70. Section 4. VM/370 Service Programs 177
page of GC20-1806-9 As Updated April 1, 1981 by TNL GN25-0834
volser is a one-to-six character field that represents the volume
serial number.
LABEL is a keyword designating the
Format/Allocate program.
label function of the Note: FORMAT and LABEL are control words and may be abbreviated to F and FORMA1 : FORMAT,232,3330,MYDISK,000,006 FORMAT,232,3330,MYDISK", FORMAT,232,3330,MYDISK"OO FORMAT,232,3330,MYDISK,001" ALLOCATE,232,3330,MYDISK TEMP,000,050 PERM,055,060 TDSK,100,108 DRCT,110,120 END F,232,3330,MYDISK,label FORMAT/ALLOCATE CONSOLE INPUT The Format/Allocate program can be controlled by control statements
entered into the real or virtual console instead of by a deck of cards
containing control statements. If the program finds no control
statements at the card reader, it issues a prompting message to the
console. The proper response causes the prompting message for the next
operand to appear until the Format, Alloca te, or Label function is
completely defined; then the Format/Allocate program is executed.
After execution, the prompting begins again until all DASD allocation
requirements are fulfilled.
The sequence for console typewriter processing of the Format/Allocate
program (after making the operator's console ready) 6 is as follows:
1. Load the card reader with a loader, followed by the Format/Allocate
deck.
2. 1PL the card reader. 3. Respond to the first message displayed at the system console.
4. Respond to other messages.
Following are examples of Format/Allocate program execution under CP control. Figure 9 is an example of the label operation, Figure 10 is an
example of the allocate operation, and Figure 11 is an example the
allocate overlap operation. All responses are entered after the colon;
after a function is complete, the program returns and issues again the
'ENTER "FORMAT" OR "ALLOCATE":' statement.
178 VM/370 Operator's Guide
Previous Page Next Page