User's Guide

Commands: Receive Diagnostic Results (1Ch) Page 125
occurred during one of the tests, byte 4 is set to the previous test that passed
successfully.
If no errors occurred during the Enhanced Diagnostics or the Enhanced Diagnostics
were not invoked, the Error code field (byte 5) is set to 0. If an error occurred during
the testing, byte 5 will contain the Vendor-specific Code Qualifier, the meaning of
which is defined in the Request Sense Command.
The FRA field (byte 6) of the Diagnostics data is set as follows:
FRA Indication
0 No errors
1 Drive errors
2 Faulty media
3 Power supply or cable problems
4 Cleaning required
The accuracy of the Enhanced Diagnostic is highly dependent upon the quality of
the media used. Use of new media is recommended. To mitigate the possibility of
worn out media being used, the drive checks the load count written on the media. If
the load count is greater than 50, the diagnostic will terminate with a media error,
“cartridge fault.”
Completion Status
The Completion Status for the RECEIVE DIAGNOSTIC RESULTS command is
shown in the following table.
Code Message Description
00h Good
Status
The drive is ready to perform any appropriate command.
The drive remains in any previously set mode.
The tape position is not changed.
02h Check
Condition
Extended Sense Byte 02h
Code Message Description
04h Hardware Error Drive hardware failure detected.
05h Illegal Request
The CDB contains an invalid bit.
06h Unit
Cartridge was changed prior to accepting
Attention this command
The drive was reset prior to this command.
04h Media
Error
A problem was encountered with the cassette.