M2488 PRODUCT GUIDE TAPE UNIT SCSI COMMANDS
April 1997 CG00000-011503 REV. A 4-133
Page 80h described above. The format of the Diagnostic Parameter List is given in Table 4-124
below.
Selection of a diagnostic routine is accomplished by assigning a routine’s corresponding Execute
Count byte a non-zero value. Routines 01, and 50 to 57 are diagnostic specific to the Tape Drive
logical unit, and routines C0 and C2 are specific to the Medium Changer logical unit. Therefore, if
the Tape Drive logical unit is selected, only the Execute Count bytes corresponding to the Selftest
routine (Routine 01) and routines 50 to 57 may have non-zero values. Bytes 6-7 and 9-15 must be
zero; otherwise a CHECK CONDITION is returned with Sense Key set to ILLEGAL REQUEST
and Additional Sense Key set to INVALID FIELD IN PARAMETER LIST. Conversely, if the
Medium Changer logical unit has been selected, only the Execute Count bytes corresponding to
routine C0 and/or C2 may have non-zero values. Bytes 0-8 and 11-15 must be zero; otherwise a
CHECK CONDITION is retur ned with Sense Key set to I LLEGAL REQUEST and Additiona l
Sense Key set to INVALID FI ELD IN PARAMETER LIST.
Selection of routines 50 and 51 do not require either DevOfl or UnitOfl to be set. Selection of rou-
tines 52 to 57, or C0 to C2 require both DevOfl and UnitOfl to be set. If a parameter list is received
by the controller which indicates selection of any of the routines 52 to 57, or C0 and/or C2, and
both UnitOfl and DevOfl are not set, a CHECK CONDITION is returned with Sense Key set to
ILLEGAL REQUEST and Add itional Sense Key is set to INVA LID FIELD IN PARAMETER
LIST. A summary of DevOfl and UnitOfl usage may be found in Table 4-114.
If any error condition is encountered during execution of a routine, diagnostic results are generated
at that time and no further routine execution occurs.
Table 4-124. Diagnostic Parameter List
BITS
BYTES 7 6 5 4 3 2 1 0
0Execute Count (Pass Count) of Online Routine 01h (Self Test)
1Execute Count (Pass Count) of Online Routine 50h
2Execute Count (Pass Count) of Online Routine 51h
3Execute Count (Pass Count) of Online Routine 52h
4Execute Count (Pass Count) of Online Routine 53h
5Execute Count (Pass Count) of Online Routine 54h
6-7 Reserved (All bits are set to zero)
8Execute Count (Pass Count) of Online Routine 57h
9Execute Count (Pass Count) of Online Routine C0h
10 Execute Count (Pass Count) of Online Routine C2h
11-15 Reserved (All bits are set to zero)