
Parameter list format:
The parameter list has the following format. The attributes should be sent in ascending numerical order. For details of attribute data see “MAM attribute data” on page 115.
|
| 7 |
| 6 |
| 5 |
|
| 4 |
|
| 3 |
|
| 2 |
| 1 |
| 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 0 | (MSB) |
|
|
|
| Parameter Data Length (n− 3) |
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
| 3 |
|
|
|
|
|
|
|
|
| (LSB) | ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Attribute 1 |
|
|
|
|
|
|
|
| |||
| a |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| : |
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| m |
|
|
|
|
|
|
| Attribute x |
|
|
|
|
|
|
|
| ||
| n |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Parameter This is not mandatory and will be ignored by the device server because it duplicates the Data Length Parameter List Length.
If the parameter data contains an attribute with an Attribute Length of zero, one of the following actions will occur:
•If the attribute is
•If the attribute can be written to, it is deleted and will not be returned after a subsequent
READ ATTRIBUTE command.
•If the attribute does not exist, the command cannot affect it. This is not considered an error.
Write Attribute specific status:
The command will be terminated and will return CHECK CONDITION under the following circumstances:
Description | Sense Key | Additional Sense | |
There is no cartridge present in the drive, not even | NOT READY | 3A00h | (medium not present) |
partially loaded. |
|
|
|
|
|
|
|
The MAM is not accessible even though there is a tape | MEDIUM | 0410h | (MAM not |
in the drive. None of the attributes are changed. | ERROR |
| accessible) |
|
|
|
|
The MAM has failed (for example from a bad | MEDIUM | 0C0Bh | (MAM write error) |
checksum) | ERROR |
|
|
|
|
|
|
The Parameter List Length results in the truncation | ILLEGAL | 1A00h | (parameter list length |
of an attribute. | REQUEST |
| error) |
|
|
|
|
The combination of Volume Number and Partition | ILLEGAL | 2400h | (invalid field in CDB) |
Number is not valid. | REQUEST |
|
|
|
|
|
|
Commands
WRITE ATTRIBUTE 8Dh 181