Download HP Q153090901 User's Manual

Transcript
REPORT DENSITY SUPPORT
44h
The Report Density Support command returns details about the tape formats supported by the drive.
The data is returned as a header and a series of descriptor blocks.
Illegal Field
Deferred Error
Commands
Pre-execution checks
Unit Attention
Command descriptor block
7
6
5
4
3
0
Operation Code (44h)
1
Reserved (0)
2
1
0
Media
Reserved (0)
6
7
2
(MSB)
Allocation Length
8
(LSB)
Control
9
CDB fields
Media
0
One descriptor block is returned for each format supported by the drive. The
capacity field in the descriptor block will indicate the capacity of the current
media.
1
One descriptor block is returned with the data for the currently loaded tape. The
capacity field will indicate the maximum for the format. If there is no tape
inserted in the drive, the drive will return CHECK CONDITION with a sense key of
NOT READY and additional sense of 3A 00h (medium not present).
This specifies the maximum number of bytes which the drive should return in its data-out
phase. Either the entire available data or allocation length bytes of the page are
returned, whichever is least.
Allocation
Length
0
No data transfer will occur. This is not considered an error.
Header
7
0
1
(MSB)
6
5
4
3
2
1
Available Density Descriptor Length
2
Reserved (0)
3
Reserved (0)
0
(LSB)
The available length gives the total amount of data available to be returned.
REPORT DENSITY SUPPORT 44h 137