From the logical data model of the Atomic Warehouse Model
(AWM) or the Dimensional Warehouse Model (DWM), you can create a physical
data model.
Before you begin
A valid logical data model of your AWM or DWM in CA ERwin must exist.
Procedure
- Import the glossary.
- Open the model with CA ERwin.
- Select .
- Select the Glossary tab.
- Click Import and choose the NamingGlossary.csv file
provided in the same folder as the model.
- Select Match Whole words only.
- Select and enter NamingGlossary.nsm as
filename.
- Go to to close the naming standard editor.
- Go to .
- In the General tab, select Use
file: and browse to select the NamingGlossary.nsm created
in the step above.
- In the Logical tab, change the maximum
length for Relationships to 128.
- In the Name Mapping tab, select
the Use Glossary check box for Entity
to table, Domains and Attribute
to Column.
- In the Macro Name cell for Entity
to table, enter %upper(%EntityName()).
- In the Macro Name cell for Relationships,
enter FK_%RelId.
- For Special Characters choose Replace in
the drop-down box.
- Replace with _ character.
- Click Reset Names... to convert
the names to the abbreviated names from the naming glossary file.
Note: the model must be physical.
- Click OK to close the dialog box.
- Go to .
- In the Target Model tab, choose Physical and
specify the correct database and version.
- In the Object Selection tab, tick
the relevant subject areas.
- Click Derive to create a new model
in CA ERwin.
- Save the newly created physical model as XML.
Results
This creates a physical data model file (XML) of your AWM
or DWM.