User Manual

SCSI Commands Reference Manual, Rev. J 182
www.seagate.com Direct Access Block commands (SPC-5 and SBC-4)
REPORTING OPTIONS field
The REPORTING OPTIONS field specifies the information to be returned in the parameter data.
REQUESTED OPERATION CODE field
The REQUESTED OPERATION CODE field specifies the operation code of the command to be returned in the one_command parameter data for-
mat (see 3.34.3).
REQUESTED SERVICE ACTION field
The REQUESTED SERVICE ACTION field specifies the service action of the command to be returned in the one_command parameter data for-
mat.
ALLOCATION LENGTH field
The ALLOCATION LENGTH field is defined in 2.2.6.
Table 151 REPORTING OPTIONS field
Code Descriptions Parameter Data
Reference
000b A list of all operation codes and service actions supported by the logical unit shall be returned in the
all_commands parameter data format. The REQUESTED OPERATION CODE CDB field and REQUESTED
SERVICE ACTION CDB field shall be ignored.
3.34.2
001b The command support data for the operation code specified in the REQUESTED OPERATION CODE field
shall be returned in the one_command parameter data format. The REQUESTED SERVICE ACTION CDB
field shall be ignored. If the REQUESTED OPERATION CODE field specifies an operation code that has
service actions, then the command shall be terminated with CHECK CONDITION status, with the sense
key set to ILLEGAL REQUEST, and the additional sense code set to INVALID FIELD IN CDB.
3.34.3
010b The command support data for the operation code and service action specified in the REQUESTED
OPERATION CODE CDB field and REQUESTED SERVICE ACTION CDB field shall be returned in the
one_command parameter data format. If the REQUESTED OPERATION CODE CDB field specifies an
operation code that does not have service actions, then the command shall be terminated with CHECK
CONDITION status, with the sense key set to ILLEGAL REQUEST, and the additional sense code set to
INVALID FIELD IN CDB.
3.34.3
011b The command support data for the operation code and service action a specified in the REQUESTED
OPERATION CODE field and REQUESTED SERVICE ACTION field shall be returned in the one_command
parameter data format.
If:
a) the operation code specified by the REQUESTED OPERATION CODE field specifies an operation code
for which the device server does not implement service actions, the REQUESTED SERVICE ACTION field
is set to 00h, and the command is supported; or
b) the operation code specified by the REQUESTED OPERATION CODE field specifies an operation code
for which the device server implements service actions and the value in the REQUESTED SERVICE
ACTION field is supported,
then the command support data shall indicate that the command is supported (i.e., the SUPPORT field
(see table 241) is set to 011b or 101b). Otherwise, the command support data shall indicate that the
command is not supported (i.e., the SUPPORT field is set to 001b).
3.34.3
100b - 111b Reserved.