M2488 PRODUCT GUIDE TAPE UNIT SCSI COMMANDS
April 1997 CG00000-011503 REV. A 4-89
4-3.20 RECEIVE DIAGNOSTIC RESULTS (FACTORY MODE) command 1Ch
The RECEIVE DIAGNOSTIC RESULTS (FACTORY MODE) command requests that result data,
generated for a previous SEND DIAGNOSTIC command, be sent to the initiator.
** NOTE **
The RECEIVE DIAGNOSTIC RESULTS comma nd as described in
this section requires that the tape drive be set in FACTORY MODE.
** NOTE **
The results of the SEND DIAGNOSTIC command may be l ost to
another initiator on th e S CSI bus if the LUN under test has not be en
reserved to this initia t o r , or if the RE CEIVE DIAG NO STIC RESULTS
command is not linked af ter the SEND DIAGNOST IC command.
4-3.20.1 RECEIVE DIAGN OSTIC RESULT S (FACTORY MO DE) CDB Descri ption
RECEIVE DIAGNOSTIC RESULTS is a six-byte command. The bytes are shown below and
described in Table 4-84. Common fields are described in paragraph 4-3.1 on page 4-4.
BITS
BYTES 7 6 5 4 3 2 1 0
00 0 0 1 1 1 0 0
1LUN Reserved
2Reserved
3MSB Allocation Length
4LSB
5Reserved Flag Link
Note: Changeable fields in the CDB are shaded.
Table 4-84. RECEIVE DIAGNOSTIC RESULTS Field Description
BYTE BIT VALUE DESCRIPTION
0 0-7 1Ch Operation code.
3-4
The Allocation Length specifies the maximum number of bytes that the initiator has
allocated for returned RECEIVE DIAGNOSTIC data. An allocation length of 0
indicates that no RECEIVE DIAGNOSTIC data is transferred. This condition is not
considered an error. The target terminates the DATA IN phase when all allocation
length bytes have been transferred or when all available RECEIVE DIAGNOSTIC
data has been transferred to the initiator, whichever is less. (Refer to Table4-76 for
parameter list length values for RECEIVE DIAGNOSTIC RESULTS in FACTORY
MODE).