April 1, 1981 VM/370 FORMAT/ALLOCATE PROGRAM VERSION 3.0 ENTER "FORMAT" OR "ALLOCATE":f FORMAT FUNCTION SELECTED ENTER DEVICE ADDRESS (CUU):131 ENTER DEVICE TYPE: 2314
ENTER START CYLINDER (XXX) OR "LABEL":l
ENTER DEVICE LABEL:cpdsk2
Figure 9. Using the Format Label Function
ENTER "FORMAT" OR "ALLOCATE":a ALLOCATE FUNCTION SELECTED ENTER DEVICE ADDRESS (CUU):131 ENTER DEVICE TYPE: 2314
ENTER DEVICE LABEL:cpdsk2
ENTER ALLOCATION DATA FOR VOLUME CPDSK2 TYPE CYL CYL drct 000 001 perm 004 008 tdsk 100 150 end ALLOCATION RESULTS DRCT 000 001 TEMP 002 003 PERM 004 008 TEMP 009 099 TDSK 100 150 TEMP 151 202 DEVICE 131 VOLUnE CPDSK2 ALLOCATION ENDED Figure 10. Using the Format PrograllAlloca te Function
ENTER OR "ALLOCATE":a ALLOCATE FUNCTION SELECTED ENTER DEVICE ADDRESS (CUU):131 ENTER DEVICE TYPE: 2314 ENTER DEVICE LABEL: cpdsk2
ENTER ALLOCATION DATA FOR VOLUME CPDSK2 TYPE CYL CYL perm 004 004 temp 000 010 tdsk 000 010 perm 010 202 drct 000 004 end ALLOCATION RESULTS DRCT 000 004 TDSK 005 009 PERM 010 202 DEVICE 131 VOLUME CPDSK2 ALLOCATION ENDED
Figure 11. Using the Format Program Allocate Overlap Function Section 4. V8/370 Service programs 179
Page of GC20-1806-9 As Updated April 1, 1981 by TNL GN25-0834 Note that before the ALLOCATE function was invoked, cylinder 0 was
formatted and labeled CPDSK2. The area associated with the first three 4096-byte blocks on cylinder 0 are not used for spooling but contain
system information (page allocation map, label, and so on).
These CP-formatted volumes can be made usable by CP in one of two
ways: 1. They may be attached to the system by the VM/370 operator.
2. Their volume serial numbers may appear in the SYSOWN macro in the DKKSYS module. The CP system residence volume's serial number must
appear in the SYSOWN macro. IBCDASDI--Generallnformation VM/370 uses the OS utility program IBCDASDI for disk initialization, for
disk formatting, and for assigning an alternate track. The execution of IBCDASDI is performed from the virtual card reader and the technique is
descr ibed in "Invoking IBCDASDI" later in this section. - Corresponds roughly to what is referred to as
"initialization with surface analysis" or "non-quick DASDI". It is
invoked by a DADEF statement when its PASSES operand is specified or
defaulted as a value greater than 0 (and for 2314, 2319, and 2305 the FLAGTEST=NO operand must also be specified). Each track is tested and
alternate tracks will be assigned to tracks that prove defective.
Pre-existing flags and alternate assignments are ignored. Record zero
is rewritten on all tracks. For some device types, home addresses are
also rewritten on all tracks. Disk initialization can be performed on 2305, 3330, 3340, and 3350 real (dedicated) disks and on 2314 and 2319
minidisks as well as real disks. Initialization will generally be
required when a disk (or a 2314 or 2319 minidisk) is in an initial or
unknown state. Note: whenever disk initialization is done, disk
formatting is also done. JQte: Disk formatting will not reset (clear) the count field. DISK FORMATTING Corresponds roughly to what is referred to as "initialization without surface analysis" or "quick DASDI". It is
invoked by a DADEF statement with PASSES=O,BYPASS=YES specified.
Formatting consists of writing IPL records 1 and 2 standard OS volume
labels on track 0 cylinder 0 and of writing an OS volume table of
contents (VTOC). Since a disk's as Format 4 label always contains a
record of how many alternate tracks remain available for assignment,
this information must be computed before the Format 4 label can be
written. To compute this, IBCDASDI reads the "alternate tracks"
cylinders. Disk formatting can be performed on any device, real or
minidisk. Disk formatting will generally be required when standaru
labels must be created. ASSIGNING AN ALTERNATE TRACK -Invoked with a GETALT statement. This is
an explicit- analternate to be assigned to the particular
track that is specified. (Note that disk initialization may also assign
alternate tracks.) Only the specified track is affected, so label and VTOC data is generally preserved. Alternate track assignment can be
performed on 3330, 3340, and 3350 real (dedicated) disks and on 2314 and 180 VM/370 Operator's Guide
Previous Page Next Page