SCAN (Scan Pack Volume)

The SCAN (Scan Pack Volume) command reads a pack volume to analyze and record any read errors. It enables you to determine, in advance, the results of issuing a REPLACE (Replace Pack Volume) command that specifies the given device as a source. The SCAN command initiates an independent runner named REPLACEPACK.

Syntax

Explanation

SCAN

Starts a scan pack independent runner process that reads data from the volume on the specified disk unit and produces a SECTORSINERROR report file. Damage analysis is performed if read errors are found, and DAMAGEDFILES and DAMAGEREPORT report files are generated. These report files are discussed in the REPLACE (Replace Pack Volume) system command.

You must reserve the volume (unit) with a UR (Unit Reserved) command before you can enter the SCAN command. The UR command requires that the volume be closed (not in use). When SCAN is completed, you must enter a UR − command to make the volume available for use again.

Example

In this example, the operator inquires about the status of the packs on the system, then closes and reserves two of them. It is then possible to scan either of the two packs. In this case, the operator scans pack 241.

PER PK
  ------- PK STATUS -----
    240*B [206000] #1 PARTS2 (0)
    241*B [123123] #1 PARTS1 (0)
    242*B [550066] #1 DISK   (53)
CLOSE PK 240,241
  PK240 WILL BE CLOSED
  PK241 WILL BE CLOSED
  PK240 UNIT CLOSED
  PK241 UNIT CLOSED
UR PK 240,241
  PK240 RESERVED
  PK241 RESERVED
SCAN PK 241
  5228 PK241 PK241 IS PARTS1 #1 [123123]
  5228 SCANNING PK241.
  5228 PK241 10 % READ. 100 % SUCCESSFULLY.
  5228 PK241 20 % READ. 100 % SUCCESSFULLY.
  5228 PK241 30 % READ. 100 % SUCCESSFULLY.
  5228 PK241 40 % READ. 100 % SUCCESSFULLY.
  5228 PK241 50 % READ. 100 % SUCCESSFULLY.
  5228 PK241 60 % READ. 100 % SUCCESSFULLY.
  5228 PK241 70 % READ. 100 % SUCCESSFULLY.
  5228 PK241 80 % READ. 100 % SUCCESSFULLY.
  5228 PK241 90 % READ. 100 % SUCCESSFULLY.
  5228 PK241 100  % READ. 100 % SUCCESSFULLY.
  5228 PK241 SCANNED.  0 FAILURES. (0 SECTORS OUT OF 362230)

Considerations for Use

The SCAN command does not lock out defective areas or mark them as destroyed.

The volume need not be labeled. If it is an unlabeled or scratch pack, no damage analysis is performed and only a SECTORSINERROR report file is generated.