The general syntax of the CHECKSUM command is:
CHECKSUM[,dn]
where 'dn' is an optional drive number. If no drive is specified CHECKSUM will use the work drive. If the work drive is set to 'ALL' an error message is printed. Some examples follow:
+++CHECKSUM +++CHECKSUM,2
The first example will generate a checksum of the disk in the current work drive, assuming the work drive is not set to 'ALL'. The second example will generate a checksum of the disk in drive 2. The output of CHECKSUM will look like:
CHECKSUM: 0002AB02
CHECKSUM can generate the following error messages:
ILLEGAL DRIVE NUMBER
Legal drive numbers are 0, 1, 2, or 3. A drive number must be specified if the work drive is set to ALL.
INVALID DISK FORMAT
The disk uses a non-standard format or the SYSTEM INFORMATION RECORD sector may be damaged.