HP (Hewlett-Packard) Q153090901 Computer Drive User Manual


 
READ MEDIA SERIAL NUMBER ABh
Commands
125
READ MEDIA SERIAL NUMBER ABh
READ MEDIA SERIAL NUMBER provides a method for the host application to read the serial number
of the cartridge currently loaded in the drive.
Pre-execution checks:
Command descriptor block:
CDB fields:
If there is no cartridge in the drive, the command is terminated with CHECK CONDITION status. The
sense key is set to
NOT READY with additional sense of 3A00h (medium not present).
Returned data:
The data returned depends on whether a barcode number has been stored in the LTO-CM using
the
WRITE ATTRIBUTE command. Storing this is the responsibility of the library controller or host
application.
Illegal Field Reservation Deferred Error Unit Attention Media Access
7 6 5 4 3 2 1 0
0 Operation Code (ABh)
1 Reserved(0) Service Action (01h)
2
Reserved (0)
8
6 (MSB)
Allocation Length
9 (LSB)
10 Reserved(0)
11 Control
Service Action 01h The Service Action must be set to 01h.
Allocation
Length
The maximum amount of data (in bytes) to be returned to the host. The drive will return
the entire serial number string or allocation length bytes, whichever is least.