Chapter 3. The Format Service Program Introduction The Format/Allocate service routine is a
standalone Frcgram which:• Formats all or part of a DASD device • Allocates DASD space • Creates volume labels
forIBM 2314, 2319, 3330, 3340, 3350 series, and 2305 series direct access
storage devices.Operands entered from the IPL device
and/or a1052 console centrol the execution
of theFormat program. FORMAT OPERATION The Format program writes 4096-byte (one
page) records on all the specified
cylinders. The records just written are
then read tc verify the disk surface. Any
records not Fassing the read-after-write
check are counted.When the format
operation is complete, asummary of the
addresses of the unusable pages is written
on the console.
The first three records of cylinder0 contain special sYstem data includinq the volume label. If the format operation
includes cylinder0 any existing volume label is read first and if an OS For.at 4
label is present, the information in the
label ccncerning alternate track
assignments is carried forward to the new
label. Then the newvolume label is
written on theDASD device.
If cylinder0 is not to be formatted,
label checking is performed.
If unrecoverableDASD errors occur
during the formatting operation, theformat function is canceled, the message DMKFMT735E FATAL DISD I/O ERROR is issued, and the next control statement
is read.LAEEL-ONLY OPERITICN In a label-only operaticn, a new volume latel is written on cylinder 0, track 0, record 3 of the DISD device. No label checking is done tefore the new label is
written. The device must already be
formatted before alate 1 oFeration can be
performed.ALLOCATION OPERATION In an allocation operaticn, disk space is
assigned on the specified device in units
of one cylinder. This disk spacemay be
used as:• Temporary space (TE!P) • Permanent space (PER!) • Iirectory space (DRCT) • Temporary user space (TDSK)
The input parameters provide the
information needed to update the allocaticn
tatle.When the END allocation statement
is processed:• The allocation table is written in the
byte allocation map on cylinder0, track 0, record 4 of the DISD device. • The results of the allocation cperation
are displayed at the console.
TheIISD device must already be
formatted before an allocation operation
can be performed.EXECUTING THE FORMIT FROGRI! The sequence for program is:
executing theFormat 1. Ready the DISD device.
2. Ready the reader. The reader .ust
contain theFor.at/Illecate program
and .ay also contain control cards fer
the prograa.Chapter 3. The Format Service 63
standalone Frcgram which:
for
storage devices.
and/or a
of the
page) records on all the specified
cylinders. The records just written are
then read tc verify the disk surface. Any
records not Fassing the read-after-write
check are counted.
operation is complete, a
addresses of the unusable pages is written
on the console.
The first three records of cylinder
includes cylinder
label is present, the information in the
label ccncerning alternate track
assignments is carried forward to the new
label. Then the new
written on the
If cylinder
label checking is performed.
If unrecoverable
during the formatting operation, the
is read.
written. The device must already be
formatted before a
performed.
assigned on the specified device in units
of one cylinder. This disk space
used as:
The input parameters provide the
information needed to update the allocaticn
tatle.
is processed:
byte allocation map on cylinder
are displayed at the console.
The
formatted before an allocation operation
can be performed.
executing the
2. Ready the reader. The reader .ust
contain the
and .ay also contain control cards fer
the prograa.