Chapter 4 SCSI Commands
READ ATTRIBUTE Command (8Ch)
DLT-S4 Interface Reference Guide
237
Table 130 READ ATTRIBUTE
Command Descriptor Block
—
Field Descriptions
Error Summary for the
READ ATTRIBUTE
Command
4
If the medium auxiliary memory is not accessible because the medium is
not present, the drive terminates the
READ ATTRIBUTE
command with a
CHECK CONDITION
status. The Sense Key is set to NOT READY and the
Additional Sense Code is set to
MEDIUM NOT PRESENT
.
If the medium is present but the medium auxiliary memory is not
accessible, the drive terminates the
READ ATTRIBUTE
command with a
CHECK CONDITION
status. The Sense Key is set to NOT READY and the
Additional Sense Code is set to L
OGICAL UNIT NOT READY, MAM NOT
AVAILABLE.
If the combination of volume number and partition number is not valid,
the drive terminates the
READ ATTRIBUTE
command with a
CHECK
CONDITION
status. The Sense Key is set to
ILLEGAL REQUEST
and the
Additional Sense Code is set to
INVALID FIELD IN CDB
.
If the specified attribute identifier does not exist, the drive terminates the
READ ATTRIBUTE
command with a
CHECK CONDITION
status. The Sense
Field
Description
Service Action
See
READ ATTRIBUTE Service Action Codes
.
Volume Number
Specifies a volume within the medium auxiliary
memory. Must be set to 0. Super DLTtape media
comprises a single volume.
Partition
Number
Specifies a partition within a volume. Must be set
to 0. Super DLTtape media comprises a single
partition.
First Attribute
Identifier
Specifies the attribute identifier of the first attribute
to be returned.
Allocation
Length
Specifies how many bytes are allocated for the
returned parameter list. If the value in this field is
not sufficient to contain the entire parameter list,
the drive returns the truncated list; this is not
considered an error. If the remainder of the list is
required, the application client either: 1) sends a
new
READ ATTRIBUTE
command with the
Allocation Length field set to a large enough value
to contain the entire parameter list, or 2) uses the
First Attribute Identifier field to restrict the
attributes returned.