Request Volume Element Address - X'B5'
For the tape library, the Request Volume Element Address command transfers the results of a Send Volume Tag command. Multiple Request Volume Element Address commands can be used to retrieve the results of a single Send Volume Tag command with the translate option. Table 1 shows the command format.
|Operation Code (X'B5')
|Element Type Code
|Number of Elements to Report
The following tape library-specific behaviors apply:
Element Type Code acts as a filter similar to (Minimum) Element Address, which, if the criteria are met, advances the most recent element address reported. Once information for an element address is reported, only higher element addresses are reported by subsequent Request Volume Element Address commands. Even if it means that some Send Volume Tag element list matches are skipped and never reported. If the criteria are not met based on the Element Type Code or Element Address (and there are still element addresses to be reported), this command responds with an empty volume element address header. However, the most recent element address that was reported is not advanced and the element list is not to be considered reported completely.
|First Element Address Reported
|Number of Elements Reported
|Send Action Code
|Byte Count of Report Available (all pages, x - 7)
|Element status page(s)
If a Request Volume Element Address command is received and no prior Send Volume Tag command was executed or the element list was reported completely for the most recently successful Send Volume Tag command, the library returns command response data that consists of only the volume element address header, with First Element Address Reported set to X'0000', Number of Elements Reported set to X'0000', and Byte Count of Report Available set to X'000000'.