Availability:
     Online     , CTRL-K
     Online     , CTRL-Y

  Quick Help:
     Display DST Status

  Description:
    This command displays the status (percent complete, etc) of any current Drive
    Self Test (DST) activity.

  Input Parameters:
    None

  Output Data:


    If an error occurred, the following information will be displayed.
    
          "DiagError aaaaaaaa"
    
       where
    
          aaaaaaaa is the Diagnostic Error Code
    
    If no error occurred, then the Drive Self Test (DST) Status will be displayed as follows.
    
             "Total process aa% complete"
             "bb% of current test complete"              <== NOTE: This line only appears on non-AT drives.
             "c out of d steps complete in current test" <== NOTE: This line only appears on non-AT drives.
             "Current operation is eeeeeeeeeeeee."
             "Current status  ff"
          
          where
             aa is the percent completion of the entire self test process.
    
             bb is the percent completion of the current self test.
    
             c is how many steps are complete in the current self test.
    
             d is how many steps are in the current self test.
    
             eeeeeeeeeeeee is either "aborted" or "NOT aborted".
             
             ff is the self test status:
                For SCSCI drives:
                0x0000: NO_SELF_TEST_ERROR - Indicates no error.
                0x0001: SELF_TEST_ABORTED_BY_HOST
                0x0002: SELF_TEST_INTERRUPTED_BY_RESET
                0x0003: SELF_TEST_IMPOSSIBLE
                0x0004: UNKNOWN_SELF_TEST_FAILURE
                0x0005: ELECTRICAL_SELF_TEST_FAILURE - "cannot generate write current", etc.
                0x0006: SERVO_SELF_TEST_FAILURE - servo, seek, vibration, etc.
                0x0007: READ_SELF_TEST_FAILURE - reading of ANY data (user data, servo bursts,
                        ECC, etc.)--this bucket is intended to include grown defects.
                RESERVED, (8-13)
                
                0x000E: READ_VERIFY_IN_PROGRESS - reserved for AT
                0x000F: SELF_TEST_IN_PROGRESS -  if the host interrupts a self-test with a
                        command other than a SMARTOfflineImmediate (subcommand=127), then
                        self-test is merely paused, not interrupted, and
                        SMARTReadAttributeValues should indicate this. If the host issues
                        a reset which interrupts a self-test, then the appropriate state is
                        SELF_TEST_INTERRUPTED_BY_RESET, and the test should not restart.
                For ATA drives:
                0x0000: NO_SELF_TEST_ERROR - Indicates no error.
                0x0010: SELF_TEST_ABORTED_BY_HOST
                0x0020: SELF_TEST_INTERRUPTED_BY_RESET
                0x0030: SELF_TEST_IMPOSSIBLE
                0x0040: UNKNOWN_SELF_TEST_FAILURE
                0x0050: ELECTRICAL_SELF_TEST_FAILURE - "cannot generate write current", etc.
                0x0060: SERVO_SELF_TEST_FAILURE - servo, seek, vibration, etc.
                0x0070: READ_SELF_TEST_FAILURE - reading of ANY data (user data, servo bursts,
                           ECC, etc.)--this bucket is intended to include grown defects.
                RESERVED, (8-14)
                
                0x00F0: SELF_TEST_IN_PROGRESS - if the host interrupts a self-test with a
                        command other than a SMARTOfflineImmediate (subcommand=127), then
                        self-test is merely paused, not interrupted, and
                        SMARTReadAttributeValues should indicate this. If the host issues
                        a reset which interrupts a self-test, then the appropriate state is
                        SELF_TEST_INTERRUPTED_BY_RESET, and the test should not restart.
    
  Revision History:

    0001.0000   Initial revision.
    0011.0000   Combined the PSG Diagnostic Error Codes (PSGDEC) and the Diagnostic External
                Test Service Error Codes (DETSEC) into a single set of Diagnostic Error Codes
                (DiagError).