1 02/17/84  test_tape
 2 
 3 Syntax:  test_tape {-control_args}
 4 
 5 
 6 Function:  tests a tape drive or tape reel.
 7 
 8 
 9 Control arguments:
10 -volume ID, -vol ID
11    specifies a tape by its volume identification number, which can have
12    a maximum of nine characters.  If -volume is not given, a default of
13    "test_tape" is used.
14 -comment STR, -com STR
15    allows you to pass additional information about the requested volume
16    mount to the operator.
17 -device STR, -dv STR
18    selects a specific tape unit; STR must be the complete device name.
19    If this control argument is not given, the system finds a free tape
20    unit (e.g., -device tapb_08).  It is incompatible with -compare.
21 
22 
23 -compare STR, -comp STR
24    writes and then reads a tape on device STR1, and then automatically
25    has the operator mount the tape on device STR2 and read the tape.
26    The mounting and reading continues to device STRn.  At least two
27    devices must be specified.  Only one device is attached at a time.
28    The full device name (e.g., -comp tapa_05 tapa_07) must be used.
29    This control argument cannot be used with -device.
30 -density N, -den N
31    indicates the tape density, where N can be either 6250, 1600, or
32    800.  The default is 1600.
33 -track7, -tk7
34    specifies a 7-track tape drive as the test unit.  The default is 9
35    track.
36 
37 
38 -wait N, -wt N
39    attempts to attach the device N times, after one-minute waits, if
40    the device desired is being used by another process.  If after N
41    waits the device still cannot be attached, the program bypasses the
42    device.  The default for N is two times.
43 -count N, -ct N
44    indicates the number of records to be written or read, where N is a
45    decimal integer.  Each write operation creates one 1040-word
46    physical record.  If -count is not given, then the entire tape is
47    written or read.
48 -no_data_compare, -ndc
49    disables comparison of the data read to a known pattern.  This
50    control argument is useful for verifying that a tape can be read
51    without knowing what data is on the tape.
52 
53 
54 -random
55    fills the data buffers with a known random data pattern.  It cannot
56    be used with -pattern.
57 -pattern N, -ptrn N
58    specifies N as the word of octal data to fill the data buffers,
59    where N can be a maximum of 12 octal digits.  If fewer than 12
60    digits are given, the field is padded on the left with zeroes.  If
61    -pattern is not given, a pattern of 222222222222 is used.  This
62    control argument cannot be used with -random.
63 -write_read, -wr
64    identifies the mode of the test.  The tape is written and the read
65    pass is performed.  (Default)
66 
67 
68 -write, -w
69    identifies the mode of the test.  The tape is written and the read
70    pass is bypassed.
71 -read, -r
72    identifies the mode of the test.  The tape is mounted without a
73    write ring and the read-only pass is preformed.
74 -raw
75    displays raw hex detailed status with each error message in addition
76    to an interpreted display.
77 
78 
79 Notes:  This command senses the End of Tape Mark (EOT) and stops even
80 if the record count has not been exhausted.  Typing test_tape with no
81 control arguments has the same effect as:
82 
83    test_tape -vol test-tape -den 1600 -ct 100000 -ptrn 222222222222 -wr
84 
85 
86 Listed below is a summary of the default control argument values.
87 
88 -volume    (test-tape)                 -count    (100000{entire tape})
89 -comment   (NONE)                      -ndc      (OFF)
90 -device    (one previously assigned,   -random   (OFF)
91            or a free device)           -pattern  (222222222222)
92 -compare   (OFF)                       -write    (ON)
93 -density   (1600)                      -read     (ON)
94 -track     (9)                         -raw      (OFF)
95 -wait      (OFF)