Read Element Status
190 SL500: Interface Reference Manual • July 2008 Revision: F • 96122
Storage Element Descriptor Definitions:
Element Address This field contains the element address of the storage element reported.
Access This bit indicates access is allowed to the storage element by the hand.
The library returns a value of 1.
Except This bit indicates the operational state of the storage element:
■ 0 = The storage element is in a normal state.
■ 1 = The storage element is in an abnormal state, and the Additional Sense
Code and the Additional Sense Code Qualifier fields contain information
regarding the abnormal state. Other fields in the descriptor might be invalid,
and should be ignored.
Full This field indicates if the storage element contains a cartridge tape:
■ 0 = The storage element does not contain a cartridge tape.
■ 1 = The storage element does contain a cartridge tape.
Additional Sense Code This field is valid only if the Except bit is set. In the case of an exception, it
contains an ASC as defined for Request Sense data.
Additional Sense Code
Qualifier
This field is valid only if the Except bit is set. In the case of an exception, it
contains an ASCQ as defined for Request Sense data.
SValid This bit indicates if the Source Element Address and Invert fields are valid:
■ 0 = The Source Element Address and Invert fields are not valid.
■ 1 = The Source Element Address and Invert fields are valid.
Invert The library does not support multi-sided media and returns a value of 0.
ED
■ 0 = The element is enabled (for example a magazine or drive has been
installed or has been logically enabled)
■ 1 = The element is disabled
Medium Type This field provides the type of medium currently present in the element as
determined by the medium changer.
The library returns the following values:
■ 0h = Unspecified - the medium changer cannot determine the medium type.
■ 1h = Data Medium
■ 2h = Cleaning Medium
Source Storage Element
Address
This field is valid only if the SValid bit is 1. It contains the address of the last
element from which the data cartridge was moved.
Primary Volume Tag
Information
When the PVolTag bit is set to 1, the library returns Volume Tag Information.
When PVolTag is set to 0, this field is omitted, and the reserved fields below it
are moved up.
The library Volume Tag Information includes six bytes of left-justified ASCII
data, which represents volume/serial number data from the cartridge tape.
The field is padded to 32 bytes with 26 ASCII spaces.
If the label on the cartridge tape is not readable, these 32 bytes are set to 0.
The last four bytes of the Volume Tag Information typically consist of two
reserved bytes and 2 volume sequence bytes. The library does not support
sequence numbers. These four bytes are set to 0.
Code Set This field specifies the code set used for the identifier field and is set to 0 (not
supported) for the Storage Element Descriptor: 0h = Reserved