FORMAT FORMAT Use the FORMAT command to: Initialize a virtual disk (minidisk) for use with CMS files Count or reset the number of cylinders on a virtual disk write a label on a virtual disk r The format of the FORMAT command is:
----------------------------------------------------------, F:)RMAT cuu mode [nocvl] [ (options ••• [) ]] QEtiQns: r , ,Label , , Recompl L .J , , , , , , , , _________________________________ -J cuu is the virtual device address of the virtual disk to be
formatted.
mode
nocyl Valid addresses are 001 through 5FF for a virtual machine in
basic control mode and 001 through FFF for a virtual machine in
extended control mode.
is the filemode letter to be assigned to the specified device
address. Valid filemode letters are A, B, C, D, E, F, G, Y, and
z. This field must be specified. If any other disk is accessed
at mode, it is released.
is the number of cylinders to be made available for use. All
available cvlinders on the disk are used if the number specified
exceeds the actual number available.
LABEL writes a label on the disk without formatting the disk. A six-character label is written on cylinder 0, track 0, record
3 of the virtual disk. A prompting message requests a
six-character disk label (fewer than six cbaracters are
left-justified and blanks padded). RECOMP changes the number of cylinders on the disk that are available
to the user to the actual number of minidisk cylinders or to
the number specified by noeyl, whichever is less. If nocyl is
not specified, all cylinders are used.
,. Yoa ean use the FORMAT command with any virtual 3330, 3340, 3350, or 2319 device.
2. When vou do not specify either the RECOMP or LABEL option, the disk
area is initialized by writing a device-dependent number of records
(containing binary zeros) on each track. Any previous data on the
Section 2. CMS Commands 97
FORMAT disk is erased. A read after write check is made as the disk is
formatted. For example:
format 191 a 25
initializes 25 cylinders of the disk located at virtaal address 191
in CMS format. The command:
format 192 b 25 (recomp)
changes the number of cylinders available at virtual address 192 to
25 cylinders, but does not erase any existing data. To change only
the label on a disk, you can enter:
format 193 c (label)
Respond to the prompting message with a six-character label.
3. If you want to format a minidisk for VSAM files, you must use the IBCDASDI program. If you want to format an entire disk, you may
use any OS or DOS disk initialization program.
4. Because the FORMAT command requires heavy processor utilization and
is heavily 1/0 bound, system performance may be if there
are many users on the system when you use FORMAT. 5. If the FORMAT command with the RECOMP option fails and eMS issues
message DMSFOF214W, "CANNOT RECOMPUTE WITHOUT LOSS OF DATA. NO CHANGE.", query your A-disk to determine the number of unallocated
cylinders. If the number of cylinders seems adequate, it is
possible that some of the allocated space is at the end of the disk
and is not available to the FORMAT command. Issue the command:
copy * * a = = = (rep oldd
followed by the FORMAT command with the RECOMP option. DMSFOR603R FORMAT WILL ERASE ALL FILES ON DISK 'mode(cuu) I. DO YOU WISH TO CONTINUE? (YES I NO) : You have indicated that a disk area is to be initialized: all
existing files are erased. This message gives you the option of
canceling the execution of the FORMAT command. Reply yes or no. DMSFOR605R ENTER DISK LABEL: You have requested that a label be written on the disk.
one- to six-character label. DMSFOR705I DISK REMAINS UNCHANGED. Enter a
The response to message DMSFOR603R was NO or a null line was
entered. DMSFOR732I 'nnn' CYLINDERS FORMATTED ON DISK 'mode(cuu)'
The format operation is complete. IBM tTU'")"''' v fit.J 1 V Command __ !I auu Macro Reference
Previous Page Next Page