Table of Contents

Search

  1. Preface
  2. Introduction
  3. Getting Started with Repository Manager
  4. Validating Metadata
  5. Promoting Changes Between Repositories
  6. Importing Design Objects
  7. Exporting Repositories
  8. Common Warehouse Model Support
  9. Design Objects Reference
  10. Change List Reference
  11. MetCommand Reference

Importing Design Objects from a CWM File

Importing Design Objects from a CWM File

This section describes how to import design objects from CWM file in the
Repository Manager
.
Before you import from a CWM file, back up the target repository according to the instructions in Exporting a Repository.
To import from CWM file into a repository, perform the following steps:
  1. In
    Repository Manager
    , click the
    Import from CWM file
    tab.
  2. Load the CWM file for import.
    1. Click the
      Load CWM File
      button.
      The
      Repository Manager
      displays the Open dialog.
    2. Navigate to the
      .cwm
      file that you must import, select the CWM file, and click
      Open
      .
      Repository Manager
      loads and validates the selected CWM file.
    3. Review the loaded source repository, which
      Repository Manager
      displays as a design object hierarchy.
  3. Select design objects to import.
    • To select a design object, click the check box next to the design object.
      When a design object is selected, all associated design objects are automatically selected. For example, if a package is selected, then all tables and queries on which the package is based are automatically selected (checked). Likewise, if a query is removed (unselected), then packages based on that query are also removed. You can individually remove (unselect) any objects that you want to exclude from import.
    • To select all design objects of a particular object type, select the check box next to the object type.
      Repository Manager
      automatically selects all design objects of that type.
    • To select all design objects in the source repository, select the check box next to the repository at the top of the hierarchy.
    In general, consider importing an entire collection of design objects at once, rather than importing subsets separately, so that required design objects are not inadvertently omitted. For example, rather than importing landing tables, staging tables, mappings, and packages separately, consider importing the entire base object so that the collection of dependent design objects is complete.
  4. Import selected design objects.
    1. Click the
      Apply Change List
      button.
      Repository Manager
      displays an Open Repository dialog with a database repository list.
  5. Select the target repository for import.
    1. Select a target repository from the database repository list and click
      OK
      .
    2. Repository Manager
      prompts you to select a rollback strategy in the event of a failure during the import process.
      Select one of the following options:
      Option
      Description
      Full rollback
      Rolls back all of the changes attempted during the import process.
      Rollback to last change
      Rolls back to the last successful change prior to the interruption of the import process. For example, if base object columns A and B were successfully imported, but the import process failed before column C was successfully created in the target repository, then changes are rolled back to column B.
      Use this option if you are importing many design objects and want to retain successfully-applied changes in the event of a failure.
    3. Click
      OK
      .
      If the target repository is currently registered with a proxy user,
      Repository Manager
      prompts you to enter the owner password for the repository.
    4. If prompted to enter the password, enter the password of the ORS schema owner.
      Repository Manager
      displays a progress bar. When the import process is complete,
      Repository Manager
      displays a message indicating whether the import process succeeded.
  6. Save changes in a comparison change list XML file.
    1. Click the
      Save
      button.
      Repository Manager
      displays the Save Change List dialog.
    2. Navigate to the target directory where you need to save the change list XML file.
    3. In the File name field, enter the name of the change list file to be saved.
      Repository Manager
      adds an extension to the file (
      *.change.xml
      ).
    4. Click
      Save
      .
      Repository Manager
      saves the specified
      change.xml
      file, displaying a progress bar while writing to the target location.
You can open the change XML file in an editor to review its contents.

0 COMMENTS

We’d like to hear from you!