Diagnosing and repair a database:
1. Select Diagnose Database from the main console or the Wizards menu. The Welcome to the Database Repair Wizard window appears.

2. Click the Next button. The Select a Database window appears.

3. Select a database from the Database menu.
4. Enter the system administrator's name in the User name field.
5. Enter the system administrator's password in the Password field.
6. To enable automatic database repair check the Repair automatically check box.
7. Click the Next button. The Checking Basic System Table window appears.

8. A check mark appears in the Status field for each system table that is functioning normally. An X appears in the Status field if there is a problem. A message also appears in the corresponding Message field.
NOTE If any check operation fails in this step, the wizard will not be able to continue.
9. Click the Next button. The Select Tables to Diagnose window appears.

10. Select a table to diagnose by checking the include box in the appropriate row. To select all tables click the All button.
11. Click the Next button.
12. The Checking Selected Tables' Storage window appears, displaying the tablespaces containing the selected table. If errors are found, the Repair Option dialog box appears.

13. Select Yes to repair the tablespace in question. Select Yes To All to repair all tablespaces. Select No to skip repairing the tablespace in question. Select No To All to skip repairing all tablespaces. Select Detail to see the error message. After all tablespaces are repaired or skipped, the Checking Selected Tables'Storage window appears.

14. Click Next or wait 10 seconds, the wizard will automatically go to the next step.
15. DBMaker checks the remaining system tables and selected user tables. If any errors are found, the Repair Option dialog box appears.

16. Select Yes to repair the table in question. Select Yes To All to repair all tables. Select No to skip repairing the table in question. Select No To All to skip repairing all tables. Select Detail to see the error message. Selecting Detail opens the Error dialog box.

17. Click OK to continue checking tables. After all tables have been checked the Checking Selected Tables's Storage window appears.

18. The Checking Selected Tables window displays the status of the tables checked. Click the Next button to continue. The View Status window appears.
NOTE If errors were found and not repaired in a tablespace, then tables belonging to the broken tablespace cannot be repaired.

19. The View Status window displays a report of the error check. If any repairs were performed, the Next button appears, otherwise the Done button is displayed. Click the Next button to continue, or Done to complete the wizard
20. The Confirm window appears.

21. The Confirm window allows the database to be rechecked to ensure that repairs were effective. Select Check all to recheck the entire database. Select Check the selected tables to recheck only the tables initially selected. Select Check the repaired tables to recheck the tables that contained errors.
22. The Diagnose Database Wizard opens to the Checking Selected Tables' Storage window and checks tablespaces according to the choice made in the Confirm window.

23. Click the Next button or wait 10 seconds, the wizard automatically continues to the next step. DBMaker rechecks the selected tables.

24. Click Next. The View Status window appears a final time.
