Opening an Existing Database

You can open an existing database in the following ways:

Once you have opened a database, it is displayed in the left panel next to the database icon, and its name is added to the File History list saved with this system.

From the File History List

On the File menu, Cview displays a list of databases previously opened in this system. To open a previously-opened database, choose it from the history list on the File menu.

Using the Directory Browser

To open an existing database using the Cview directory browser:

  1. Choose File->Open from the menu bar. The Browse for Folder dialog displays.

    By default, the browser opens in the system directory.

  2. Navigate to the appropriate directory and highlight the database name.
  3. Click OK.

By Name

The Open by Name feature lets you open a database in the system directory without having to use the navigator or specify a pathname or location. To open a database by name:

  1. Choose File->Open by Name from the menu bar. The Open by Name dialog appears.
  2. In the Name field, type the name of a database in the system directory. Optionally, you can choose the name using the Directory or List buttons.

    Click Directory to choose from the file browser, or List to choose from a list of databases known to the system.

  3. Click OK.

From the Command Line or Shortcut

To automatically open a database when Cview opens, specify the database name on the command line when you launch Cview. For example:

java com.ibm.db2j.tools.cview MyDBName