You are here: Data Riser Bar>Using SAS Master Data Management Foundations>Modifying Entity Definitions

DataFlux Data Management Studio 2.5: User Guide

Creating or Modifying Entity Definitions

You can create new entity definitions or modify existing definitions before you use them in master data projects. These entity definitions are used to process the source data that is loaded into the projects, and the entity attributes that you include in the projects affects the data that comes out of them. It is assumed that you have created a Master Data Projects repository.

Perform the following tasks to prepare your entity definitions:

Create or Manage Entity Definitions

You can create new entity definitions or manage existing definitions from the Folders riser. The following actions are available from the toolbar in the Entity Definitions pane. You can access this pane by clicking the Entity Definitions folder in the repository that you created for your master data projects:

Edit an Existing Entity Definition

You can open an entity definition to review QKB locales, add or edit attributes, modify clustering conditions, or review settings. Perform the following steps:

  1. Open an entity definition in the repository that contains your master data projects, such as the Person definition that is used in the MDM 2 Person master data project.
  2. Click Select a QKB Locale to review the list of locales. You can select a new locale, when needed. This selection only changes the list of definitions available to you when you create or edit a new attribute and choose to use a match definition or standardization definition.
  3. Click New Attribute, and specify a name, type, and length for the attribute. If you specify standardization or match code values, a generated attribute is created.
  4. Select an existing attribute, and click Edit Attribute. Modify the attribute as required, and click OK to save the changes.
  5. Select a Condition or Or Condition check box to add a clustering condition to an entity attribute or generated attribute.
  6. Click Settings to review the name, description, and notes for the entity definition.

Note that when you change you edit an existing entity definition, you must rebuild your master data foundation project. This edition process regenerates the jobs that are created to support your entity definition, replacing the previous locale specification in nodes that need it with the edited version.

Use an Existing Entity Definition as a Template

You can resave an existing entity definition and use it as the template for a new definition. Perform the following steps:

  1. Open an entity definition, such as Person, which is shown in the following display:

  2. Click Save Entity Definition As in the File menu.
  3. Specify a name and a location for the new entity definition. For example, you could save Person_2 in the Definitions folder.
  4. Change the entity definition as needed. For example, you add entity attributes, delete attributes, set standardization and match code values, and specify clustering conditions. The Person_2 definition is shown in the following display:

    Note that the GIVEN_NAME2 and SURNAME2 entity attributes have been deleted and a clustering condition added to the GIVEN_NAME1 attribute.

You can open an entity definition created in any version of DataFlux Data Management Studio. For example, you can open an entity definition created in a version of DataFlux Data Management Studio earlier than 2.3. However, if you modify that entity definition and save the changes, the saved definition cannot be opened in the earlier version of DataFlux Data Management Studio.

You can also open an entity definition created in SAS MDM in DataFlux Master Data Foundations in DataFlux Data Management Studio because DataFlux Master Data Foundations and SAS MDM share a common format for entity definition files. However, SAS MDM supports entity attributes and multiple entities that are not supported in DataFlux Master Data Foundations.

Therefore, you can open a SAS MDM entity definition that contains entity attributes in DataFlux Master Data Foundations, but they are ignored and not saved. Similarly, you SAS MDM can open a SAS MDM entity definition that contains multiple entities in DataFlux Master Data Foundations, but you must select only one entity to open and the only that entity is included when the file is saved. Note that you can use Save As to save the modified entity definition under a new name and leave the original entity definition intact, with its multiple entities and entity attributes preserved.

Documentation Feedback: yourturn@sas.com
Note: Always include the Doc ID when providing documentation feedback.

Doc ID: dfDMStd_T_MDM_DefineEnt.html