WRITE ATTRIBUTE

 

 

 

 

 

 

 

6.Command Specification

 

 

 

Table 6-102: WRITE ATTRIBUTE parameter list format

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

7

6

5

 

4

3

 

2

 

1

0

 

 

Byte

 

 

 

 

 

 

 

 

 

 

 

 

 

0

(MSB)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PARAMETER DATALENGTH (n-3)

 

 

 

 

 

 

3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(LSB)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

 

 

 

 

 

 

 

 

 

 

 

 

.

 

 

 

 

 

 

 

 

 

 

 

 

 

.

 

 

 

 

ATTRIBUTE 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

.

 

 

 

 

 

 

 

 

 

 

 

 

 

.

 

 

 

 

 

 

 

 

 

 

 

 

 

n

 

 

 

 

ATTRIBUTE x

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The PARAMETER DATA LENGTH field should contain the number of bytes of attribute data and should be ignored by the device server.

The format of the attribute is described later.

If there is not enough space to write the attributes to the medium auxiliary memory, no attributes shall be changed and the WRITE ATTRIBUTE command shall be terminated with a CHECK CONDITION status. The sense key shall be set to ILLEGAL REQUEST and the additional sense code shall be set to AUXILIARY MEMORY OUT OF SPACE.

If the medium auxiliary memory is not accessible because there is no medium present, no attributes shall be changed and the WRITE ATTRIBUTE command shall be terminated with a CHECK CONDITION status. The sense key shall be set to NOT READY and the additional sense code shall be set to AUXILIARY MEMORY NOT ACCESSIBLE.

If the Medium Auxiliary Memory has failed (e.g. bad checksum) the WRITE ATTRIBUTE command shall be terminated with a CHECK CONDITION status. The sense key shall be set to MEDIUM ERROR and the additional sense code shall be set to AUXILIARY MEMORY WRITE ERROR.

If the WRITE ATTRIBUTE command parameter data contains an attribute with an ATTRIBUTE LENGTH field set to zero, then one of the following actions shall occur:

If the attribute state is unsupported or read only, no attributes shall be changed and the WRITE ATTRIBUTE command shall be terminated with a CHECK CONDITION status. The sense key shall be set to ILLEGAL REQUEST and the additional sense code shall be set to INVALID FIELD IN PARAMETERLIST;

If the attribute state is read/write, the attribute shall be changed to the nonexistent state. The attribute shall not be returned in response to a READ ATTRIBUTE command and not reported by the read ATTRIBUTE command with ATTRIBUTE LIST service action; or

If the attribute state is nonexistent, the attribute in the WRITE ATTRIBUTE command parameter list shall be ignored; this shall not be considered an error.

If any of the following conditions occur, no attributes shall be changed, the WRITE ATTRIBUTE command shall be terminated with a CHECK CONDITION status, the sense key shall be set to ILLEGAL REQUEST, and the additional sense code shall be set to INVALID FIELD IN PARAMETER LIST.

If the parameter data attempts to change an attribute in the read only state.

If the parameter data contains an attribute with INCORRECT ATTRIBUTE LENGTH field contents; or If the parameter data contain an attribute with unsupported ATTRIBUTE VALUE field contents.

SONY AIT-3Ex drive SDX-800V series Ver.1.1

6-107

Page 165
Image 165
Sony SDX-800V/R manual LSB Attribute