Chapter 13 Impact and Lineage Analysis


Creating a user-defined action

You can specify a user-defined action on an object to analyze its consequences. You must previously create the appropriate analysis rule in the Resource Editor.

In the following example, we will create an impact analysis rule, which specify that a ModifyDataType action on the Data Item metaclass changes its attributes.

Steps Example: to create a ModifyDataType action:

  1. Open an impact analysis rule set in the Resource Editor (see Opening an analysis rule set).
  2. Click the PdCDM library to expand its available metaclasses tree.
  3. Select Data Item in the tree, and create the appropriate rule by specifying the following options:

  4. Click OK to save the rule set and close the dialog box.
  5. Open the Action Description dialog box in any of the following ways:

  6. Enter ModifyDataType in the User-defined Actions field:


    You can enter several actions in a single word using semicolons as separators.
  7. Click OK to close the dialog box.

The following example shows how the [ModifyDataType] action on the Employee number data item affects its Employee number2 attribute, which in turns affects its Idtf_2 identifier:


 


Copyright (C) 2008. Sybase Inc. All rights reserved.