Availability:
     Level L    , 'D'

  Quick Help:
     Display Log File, D[Log],[ErrCode]

  Description:
    This command displays the specified log file.

  Input Parameters:

    0 - Log Number.
    
        This parameter specifies the number of the log to be displayed.  If a Log Number
        is not entered, the Active Error Log will be displayed.
    
        The following are the default or special log files supported by the diagnostics:
        0x0000: ACTIVE_ERROR_LOG_ID - Indicates the currently active error log.
        0x0001: ACTIVE_ASCII_LOG_ID - Indicates the currently active ASCII log.
        0x0002: ACTIVE_RW_STATISTICS_LOG_ID - Indicates the currently active R/W statistics log.
        0xFFFA: QMON_STATISTICS_LOG_ID - Indicates QMON error map log.
        0xFFFB: SYMBOL_ERROR_MAP_LOG_ID - Indicates symbol error map log.
        0xFFFC: DEFAULT_ERROR_LOG_ID - Indicates the default error log.
        0xFFFD: DEFAULT_RW_STATISTICS_LOG_ID - Indicates the default R/W statistics log.
        0xFFFE: TEMPORARY_LOG_ID - This log is used internally for copy operations.
        0xFFFF: INVALID_LOG_ID - Indicates an invalid log.
    
          Type:    Unsigned 16-bit value
    
          Range:   0 to 0xFFFF
    
          Default: Active Error Log
    
    1 - Display Error Code.
    
        This parameter specifies the Diagnostic Error Code to be displayed.  Only log
        entries containing this error code will be displayed.  This parameter is only
        valid when displaying error log files.
    
          Type:    Unsigned 16-bit value
    
          Range:   0 to 0xFFFF
    
          Default: None
    
  Output Data:

    If an error occurred, the following information will be displayed.
    
          "DiagError aaaaaaaa"
    
       where
    
          aaaaaaaa is the Diagnostic Error Code
    

    The contents of the Error Log will be displayed as follows.
    
          "Log c Entries d"
          "Count DIAGERR  RWERR    LBA      PBA      SFI      WDG  LLL CHS         PLP CHS         Partition"
          "----- -------- -------- -------- -------- -------- ---- --------------- --------------- ---------"
          "eeee  ffffffff hhhhhhhh iiiiiiii jjjjjjjj kkkkkkkk llll mmmmmmmm.n.pppp qqqqqqqq.r.ssss ttttttttt"
    
       where
    
          c is the log number
    
          d is the number of valid log entries
    
          eeee is the number of times the error repeated
    
          ffffffff is the Diagnostic Error Code
    
          hhhhhhhh is the Read/Write Subsystem Error Code
    
          iiiiiiii is the LBA at which the error occurred
    
          jjjjjjjj is the PBA at which the error occurred
    
          kkkkkkkk is the number of symbols from index at which the error occurred
    
          llll is the servo wedge number in which the error occurred
    
          mmmmmmmm is the Logical Cylinder Address at which the error occurred
    
          n is the Logical Head Address at which the error occurred
    
          pppp is the Logical Sector Address at which the error occurred
    
          qqqqqqqq is the Physical Cylinder Address at which the error occurred
    
          r is the Logical Head Address at which the error occurred
    
          ssss is the Physical Sector Address at which the error occurred
    
          tttttttt is an ASCII String that indicates the partition ( "System" or " User" )
          in which the error occurred
    

    If no error occurred and the contents of an ASCII Log are selected to be displayed,
    
          "Log c Entries d"
    
          (Followed by the ASCII data contained in log)
    
       where
    
          c is the log number
    
          d is the number of valid ASCII characters contained in the log
    
  Examples:

    Example #1:
    To create a new user-defined error log as log 10 with 64KB of memory, display
    information about it, enable it as the active error log, and display the actual
    contents of the log:

       F3 L>/Lc10,0,0,10000   <-- Create a new error log as log 10 with 64KB.
       F3 L>/LI10             <-- Display error log 10 information
       F3 L>/LD10             <-- Display the new error log using Level L 'D'
       F3 L>/2E10             <-- Display the new error log using Level 2 'E'
       F3 2>/LE10             <-- Select and enable log 10
       F3 L>/LI               <-- Display current active error log information

  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).
    0012.0000   Added symbols from index, servo wedge, and PBA to the error log output.