Adding or Changing a Map File

When you select the MapFiles menu Add command or Change command from the Class Maps Browser, the File Dialog is then displayed. This dialog is also displayed when you click the Add Map File button on the on the advanced view of the Add Schema dialog or on the Class sheet of the Define Class dialog.

You can change map files (that is, the path in which your class map file is located) only by using the batch Jade Database utility. For details, see the setFilePath, setFilePathAudited, clearFilePath, and clearFilePathAudited commands, in Chapter 1 of the Database Administration Guide.

To add a new map file or change the name of an existing map file

  1. In the File Name text box, specify a valid file name prefix for the default class map file (for example, defmap) or change the name of the existing class map file, if required. The name must be unique to the schema to which it is being added or updated.

    When the class map file is created, it is allocated a .dat suffix.

  2. Check the Partitionable check box if the database map file can be partitioned. (You cannot change the value of the Partitionable check box if the DbFile class isPartitioned method returns true.)

  3. Click the OK button. Alternatively, click the Cancel button to abandon your selections.

The specified class map file is then displayed in the schema hierarchy of the Class Maps Browser. New classes in the schema can now be mapped to this file, or existing classes can be mapped to the file, if required.