program processing are:
Defective Area track. The rerrainder of the record (key Assign Alternate Track-Disk 89
write the home address
~nd track descri~tor
record following the extended gap. If the home address or track descriptor record cannot be written, the program specification in the utility modifier statement.
CHANGING TRACK-CONDITION INDICATION The program perforns this function for tracks th~t have been previously flagged defective and to which alternate tracks have been assigned. The track flagged defective is specified in the utility
modifier statement. The alternate track is identified in the track descriptor record of the specified track.
The program flags are specified track nondefective without analyzing the
condition of the track. The records from
avail~ble for assignment. Otherwise, the VTOC format 4 record is not changed and the utility modifier staterrent. Each update record must be immediately preceded in the
in~ut stream by a track statement, which specifies the location at which the update record should be written. The prograrr writes an update record at the location specified ty the preceding track staterrent, whether or not a record already exists at
hexadecimal representation, two characters per byte, in the input strearr. They must
This statement contains information
required for the operatien of this program.
The first entry R=(cccchbb) rrust be
supplied and the following pararreters are assurred:
statement for the assign alternate track-disk program. utility modifier statement.
The initials of the program. These initials can be erritted.
PARAMETER Track Location
Output Option Ox
Input Option Ix
Count Option Cn
Update Option Ux
POSSIBLE FOru.iS R=(cccchhh)
OY ON
IF IA IU
Cn
UY UN
ENTRIES R=
(cccchhh)
o
y
N
I
F
A
U
C
n
U
Y
N
EXPLANATION
This letter ana symbol indicate this is the track location parameter.
This entry indicates the track to which an alternate or a new alternate track is to be assigned, or which is to have its condition flag changed from defective to nondefective (cccc denotes the cylinder number -- cylinders 0-199 only -- and hhh denotes the head number). These entries must be enclosed in parentheses.
The first letter in these forms identi-fies this as the output option parameter.
All records are to be printed as they are transferred to the alternate track.
Only the record(s) found to be in error is to be printed.
The first letter in these forms identi-fies this as the input option parameter.
The specified track should be flagged without surface analysis.
Surface analysis should be performed on the specified track if the track has not been previously flagged. If the primary track has been flagged, then the alter-nate track assigned will have surface analysis performed on it.
The flag from a defective track should be unconditionally removed and the data recopied onto the prime track. Any error in the transfer of data will be indica-ted to the operator.
The first letter in this form identifies this as the count option parameter.
A decimal value of 1 to 255 should be entered indicating the number of times surface analysis is to be performed.
This parameter is ignored if the input parameter is IF or IU. Enlarging this parameter causes a proportional increase in program run time.
The first letter in these forms identifies this as the update option parameter.
One or more update records will follow in the input stream.
No update records will follow in the input stream.
Figure 24. Assign Alternate Track-Disk Utility Modifier Statement
Assign Alternate Track-Disk 91
Track Statement
The format and entries for the track statement for this program are:
TRACK=cccchhhhrrkkdddd[S]
~!!!:~y g~~~Q!!
TRACK= This entry indicates that thlS is the record location ~ararreter.
rhis entry must refer tc the
primary track to which an alternate has been assignej.
c c c c h h h h rrkkdddd(SJ
rhis entry specifies the track location and record descri~tion
necessary for the utility to write the update record. This
information must be specified in hexadecimal representation.
c c c c =cylinder nurrber.
h h h h =track number.
rr=record number (OO-FF).
kk=key length (OO-FF).
dddd=data length (OOOO-FFFF).
Control Statement Stream
A sarrple ccntrol staterrent in~ut strearr for running an assign alternate track-disk
~rogram from the core image library follows; device and file descriptions are
~eculiar tc the job being run.
IlbJOBbEXAMPLE
IlbASSGNbSYSOOO,X"191' IlbEXECbATAD
IlbUATbR=(0027003),IA,C3,OY 1&
A sample control statement in~ut streaw tc ufdate two records follows:
IICJOBbUPDATE
IIASSGNbSYSOOO,X'192' IlbEXECCATAD
IlbUATbR=(0004002),IA,C3,OY,UY TRACK=0004000203000050
(first 40 bytes of update record) (last 40 bytes cf update record) TRACK=00040002040001EO
(first 40 bytes of update reccrd)
Clast 40 bytes cf update record) S must appear if the record is to 1*
be written using the write special 1&
count, key and data command.
92 DOS and TOS Utility Programs
~he clear-data cell program clears one or more areas of the IBM 2321 Data Cell Drive, and establishes preformatted tracks
containing an indicated base throughout the area cleared. The control information for the operation of this prograrr is entered in three types of control statements.
~he first type of contrcl staterrent (job control) defines channel and unit
assignment, physical-device description, and areas of the data cell to be processed.
The second type of control staterrent
(utility modifier) contains the information unique to this program. The third type of cell is cleared, fixed-length blocks
containing count, key, and data areas are
This statement allows three parameter entries. The first parameter defines the utility modifier statement.
CMb The initials of the program. These character enclosed in apostrophes.
Label checking determines whether the area to be cleared contains all or part of
Indicates write data cell check (forced for