Mode Select (6)
The 6-byte Mode Select command (15h) enables an initiator to specify certain
operating parameters for the library. The library uses the saved or default versions
of these parameters to configure itself during power-on or after a logical unit reset.
The mode values sent to the library apply to all initiators. If an initiator issues a
Mode Select command that changes any parameters, the library generates a Check
Condition status to all other initiators with a sense key of Unit Attention and an
Additional Sense Code (ASC) and Additional Sense Code Qualifier (ASCQ) of
Mode Parameters Changed.
When the library receives a Mode Select (6) command, the library validates all
parameters before it performs any changes. If a value is not valid, the library
returns the appropriate error message and does not change the parameters.
TABLE 6-19 Mode Select (6) Command
Byte
7
0
1
2
3
4
5
Mode Select (6) Command Definitions:
PF
SP
Parameter List Length
96122 • Revision: F
6
5
Operation Code (15h)
Ignored
Parameter List Length
Page Format supports SCSI-3 specification and requires a value of 1.
The library supports the saved page (SP) function. The values are:
0 = Current mode values are changed to the values specified by this command.
Saved values are not affected.
1 = Current mode values and saved mode values are changed to the values
specified by this command.
00h = No data transferred
A value of 00h is not considered an error.
Note:
Any other value is considered an error and is not supported.
10h = Mode Parameter Header and Informational Exceptions TapeAlert
■
Mode Page are transferred
18h = Mode Parameter Header and Element Address Assignment Page are
■
transferred
0Ch = Mode Parameter Header and Logical Unit Page are transferred
■
0Ch = Mode Parameter Header and Port Control Page are transferred
■
Bit
4
3
PF (1)
Reserved (0)
Reserved (00h)
Reserved (00h)
Control Byte
Chapter 6 SCSI Commands 105
Mode Select (6)
2
1
0
SP