To import relationships from ERwin data models, export the data model to an XML file. Then, initiate the discovery from the application version or application module of the source metadata.
Verify that the metadata for all of the tables in the exported XML file is imported in the ILM repository. The ILM engine can use suggested table relationships to create constraints only for tables that exist in the ILM repository.
Save the exported XML file to a location that is accessible to the machine that hosts Data Archive.
Copy the
powrmart.dtd
file to the same directory where you saved the exported XML file.
You can find the
powrmart.dtd
in the optional directory of the Data Archive installation.
In the Enterprise Data Manager, click
File
View Constraints
to open the
constraints
tab.
In the navigation pane, select the application version or application module.
Click
File
Discover Keys and Relationships
.
The
Metadata Import Wizard
appears.
Select
Import keys and table relationships from Erwin Model
and click
Next
.
Enter the full path including the file name of the exported XML file location.
Click
Finish
.
The Enterprise Data Manager submits the Import Metadata job and displays a message with the job ID. Use the job ID to monitor the job status and to view the job log. After the job completes, review the suggested unique keys and table relationships.