Send Volume Tag
238 SL150 Interface Reference Manual Julyl 2017
Send Volume Tag
The Send Volume Tag command (B6h) is a request for the library to transfer a volume
tag template. The template corresponds to a VOLSER label template and is used by
the library to search for desired elements. A subsequent Request Volume Element
Address command is used to transfer the results of this search.
TABLE 4-133 Send Volume Tag Command
Byte
Bit
76543210
0 Operation Code (B6h)
1 Ignored Rsvd (0) Element Type Code
2
to
3
(MSB)
Starting Element Address
(LSB)
4 Reserved (00h)
5 Reserved (00h) Send Action Code (5h)
6 Reserved (00h)
7 Reserved (00h)
8
to
9
(MSB)
Parameter List Length
(LSB)
10 Reserved (00h)
11 Control Byte (00h)
Send Volume Tag Command Descriptions:
Element Type Code This field specifies the element types selected for reporting by this command:
0h = All Element Types reported
1h = Medium Transport Element (hand)
2h = Storage Element (cartridge tape storage cells)
3h = Import/Export Element (mailslot)
4h = Data Transfer Element (tape drive)
For an Element Type Code of 0h, the element types are reported in ascending
element address order, beginning with the first element greater than or equal to
Starting Element Address.
Starting Element
Address
This field specifies the element address at which to start the search. Only
elements with an element address greater than or equal to the Starting Element
Address are reported.
The Starting Element Address must be a valid address for the library, but does
not have to be an address of the type requested in the Element Type Code.
Send Action Code This field specifies the function to be performed. The library only supports the
translate and search primary volume tag function. The value is 5h.