gtpd1m1u | Database Reference |
The input for the real-time disk formatter consists of data control cards and formatter control cards.
This program will format 1 disk at a time, with the volume label of the pack to be formatted being specified by a standard DD card used in MVS JCL. The volume serial number on the pack can be any standard label that you want (6 alphanumeric digits), and the data set name can be any valid data set name allowed under MVS.
Although this program formats 1 disk pack at a time, many packs can be formatted at once by running different jobs, calling the formatter at the same time. The amount depends on the number of nonallocated disk modules and the amount of main storage that is allocated to the user in the particular MVS system being used.
All disk packs to be formatted must have first been initialized by MVS initialize disk program ICKDSF. This is required to properly label and format the first track and to place the volume table of contents on the pack.
You need 3 data control cards to run this program.
Data Device Name | Use |
---|---|
FMTDD1 | Read input card (SYSIN) |
FMTDD2 | Printer status report (SYSOUT) |
FMTDD3 | Pack to be formatted |
//FORMAT JOB (Accounting Information) //STEP1 EXEC PGM=FMTRXX (XX-LINKED VERSION) //SYSPRINT DD SYSOUT=A //FMTDD2 DD SYSOUT=A //FMTDD3 DD DSNAME=PARSRCDS,UNIT=SYSDA,VOLUME=SER=(PARCRY), DISP=(NEW,KEEP),SPACE=(TRK,7654) //SYSUDUMP DD SYSOUT=A //FMTSNP DD SYSOUT=A //FMTDD1 DD * ------- Formatter Control Cards ------- /*
When you format a disk pack for the first time, the disposition of the data set is new (DISP=(NEW,KEEP)). When the packs are being reformatted, the disposition is old (DISP=(OLD,KEEP)). See MVS/ESA JCL Reference for additional information about coding MVS job control cards.
The following shows the format for the formatter control cards. The scale at the top of the figure indicates the column position for each parameter.
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7... FMT s d ccccchh ccccchh dddd comments
Where:
You can use as many control cards as necessary. Ranges of tracks can overlap; in this case the last card that affects a particular track determines the format. Control cards do not need to be in order by cylinder and head, but it will reduce the run time if they are. The FMT END card must be the last card in the control deck.
The following shows some sample input:
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7... FMT L D 0000004 0001019 3390 LARGE DUP FMT S D 0001100 0018919 SMALL DUP FMT 2 0019000 0019819 FMT 4 0019600 0019919 FMT END
Notes: