Commands
112
Returned data for service actions:
Attribute Values service action
This service reads the values of attributes for the specified volume and partition, starting at the First
Attribute ID. The attributes are returned in ascending numerical order. The format of the returned
data is as follows:
The Available Data field contains the number of bytes of attribute values returned. Even if the data
returned has to be truncated because the Allocation Length is too small, the contents of the
Available Data field remain the same.
For details of the available attributes and the format of the data returned for each, see “MAM
attribute data” on page 115.
Element Address
Set to zero to indicate that Ultrium tapes only support a single element.
Element Type Code
Set to zero to indicate that Ultrium tapes only support a single element.
Volume Number
Set to zero to indicate that Ultrium tapes only support a single volume.
Partition Number
Set to zero to indicate that Ultrium tapes only support a single partition.
First Attribute ID
The identifier of the first attribute to be returned. This field is not checked if the
Service Action value is 01h (Attribute List). If the attribute does not exist in MAM but
there are more attributes available after it, the data returned will contain the values
of those attributes. Otherwise CHECK CONDITION is returned with ILLEGAL
REQUEST sense.
Allocation Length
The maximum amount of data (in bytes) that will be returned to the host. The drive
will return the entire list of values or Allocation Length bytes, whichever is the lesser.
7
6
5
4
3
2
1
0
0
(MSB)
Available Data (
n
−
3)
3
(LSB)
4
Attribute ID 1
a
:
:
m
Attribute ID
x
n
Содержание Q153090901
Страница 28: ...Messages 28 ...
Страница 36: ...Commands introduction 36 ...
Страница 196: ...Index 196 ...