Description:
    This batch file attempts to verify that the level A serial port diagnostic commands
    can be executed.
   
******************************************************************************************
    Clear the Expected Batch File Errors.
   ******************************************************************************************
    -*9                                 All Level '*' Command: Special Batch File Function - Clear Expected Errors
   
******************************************************************************************
    Enable error logging and clear the error log.
   ******************************************************************************************
    -/LE1                               Level L 'E' Command: Enable / Disable Logging
    -/LiFFFC                            Level L 'i' Command: Initialize Log File
   
******************************************************************************************
    Display the help information for the Level A commands.
   ******************************************************************************************
    -/CQA                               Level C 'Q' Command: Display ASCII Command Information
   
******************************************************************************************
    Change to Command Level A.
   ******************************************************************************************
    -/A                                 All Level '/' Command: Change Diagnostic Command Level
   
******************************************************************************************
    Display the active error log.
   ******************************************************************************************
    -E                                  'E' Command: Display / Edit Log
   
******************************************************************************************
    Test the hardware access commands.
   ******************************************************************************************
    -M                                  'M' Command: Set Controller Test Port
   
******************************************************************************************
    Test the seek commands.
   ******************************************************************************************
    -S9000000                           'S' Command: Seek to LBA
    -.                                  Online '.' Command: Display Active Status
   
******************************************************************************************
    Test the address translation commands.
   ******************************************************************************************
    -l                                  'l' Command: Display Track Information
    -C                                  'C' Command: Translate PBA
    -D                                  'D' Command: Translate Symbols From Index
    -F                                  'F' Command: Translate LBA
    -c                                  'c' Command: Translate Logical Cylinder, Logical Head and Logical Sector
    -d                                  'd' Command: Translate Physical Cylinder, Logical Head and Physical Sector
    -e                                  'e' Command: Translate Nominal Cylinder and Logical Head
    -f                                  'f' Command: Translate Physical Cylinder, Logical Head and Physical Wedge
   
******************************************************************************************
    Test the retry commands by displaying the current retry configuration.
   ******************************************************************************************
    -Y                                  'Y' Command: Set Retries
    -y                                  'y' Command: Set DERP Retry State
   
******************************************************************************************
    Test the read and write commands.
   
    Writes are performed before reads to guarantee that the track has been written in
    the desired format.
   
    Note: Since we are reading and writing on a track whose defect status is unknown, the
    read commands may generate errors (DiagError xxxx).
   ******************************************************************************************
    -W9000000,1                         'W' Command: Write LBA
    -.                                  Online '.' Command: Display Active Status
    -R9000000,1                         'R' Command: Read LBA
    -.                                  Online '.' Command: Display Active Status
    -Q9000000,1                         'Q' Command: Write, Read, Read LBA
    -.                                  Online '.' Command: Display Active Status
   
******************************************************************************************
    Display the Active Error Log and check if the Batch File failed.
   ******************************************************************************************
    -*B                                 All Level '*' Command: Special Batch File Function - Display Log
    -|                                  '|' Command: Batch File Terminator