Version 4.1 Service Pack 1 New Feature

AllFusion Data Model Validator

Release Summary
Version 4.1
This documentation and related computer software program (hereinafter referred to as the “Documentation”) is for
the end user’s informational purposes only and is subject to change or withdrawal by Computer Associates
International, Inc. (“CA”) at any time.
This documentation may not be copied, transferred, reproduced, disclosed or duplicated, in whole or in part, without
the prior written consent of CA. This documentation is proprietary information of CA and protected by the copyright
laws of the United States and international treaties.
Notwithstanding the foregoing, licensed users may print a reasonable number of copies of this documentation for
their own internal use, provided that all CA copyright notices and legends are affixed to each reproduced copy. Only
authorized employees, consultants, or agents of the user who are bound by the confidentiality provisions of the
license for the software are permitted to have access to such copies.
This right to print copies is limited to the period during which the license for the product remains in full force and
effect. Should the license terminate for any reason, it shall be the user’s responsibility to return to CA the reproduced
copies or to certify to CA that same have been destroyed.
To the extent permitted by applicable law, CA provides this documentation “as is” without warranty of any kind,
including without limitation, any implied warranties of merchantability, fitness for a particular purpose or
noninfringement. In no event will CA be liable to the end user or any third party for any loss or damage, direct or
indirect, from the use of this documentation, including without limitation, lost profits, business interruption,
goodwill, or lost data, even if CA is expressly advised of such loss or damage.
The use of any product referenced in this documentation and this documentation is governed by the end user’s
applicable license agreement.
The manufacturer of this documentation is Computer Associates International, Inc.
Provided with “Restricted Rights” as set forth in 48 C.F.R. Section 12.212, 48 C.F.R. Sections 52.227-19(c)(1) and (2) or
DFARS Section 252.227-7013(c)(1)(ii) or applicable successor provisions.
 2004 Computer Associates International, Inc.
All trademarks, trade names, service marks, and logos referenced herein belong to their respective companies.
Contents
Chapter 1: AllFusion Data Model Validator 4.1 New Features
and Enhancements
Version 4.1.4 Service Pack 1 Enhancements .....................................................
Database Enhancements ..................................................................
Option To Select a New Model to Compare .................................................
Support for Windows Authentication ......................................................
Enhancements to reports..................................................................
Version 4.1 Service Pack 2b New Features ......................................................
Direct Access to AllFusion Model Manager Models .........................................
New Option for Relationship Processing ...................................................
Processing Case-sensitive Models .........................................................
Option Not to Force Uppercase ............................................................
Display of Table Diagnostics in the Table Tree ..............................................
Version 4.1 Service Pack 2b Enhancements .....................................................
Flagging Invalid Data Types ..............................................................
Fixing Long Model Names in Reports ......................................................
Reading Models with the Same Name......................................................
Balancing Parentheses ....................................................................
Version 4.1 Service Pack 1 New Feature ........................................................
New Diagnostics .........................................................................
Version 4.1 Service Pack 1 Enhancements ......................................................
Tighter Integration with AllFusion ERwin Data Modeler.....................................
Option to Prevent Displaying Normalization Flags in Design ................................
Enabling the On Delete Set Default for DB2 .................................................
Version 4.1 GA Release 1 New Features ........................................................
Analyzing Part of a Model ................................................................
Customizing Diagnostics .................................................................
1-1
1-1
1-2
1-2
1-2
1-2
1-3
1-3
1-3
1-3
1-3
1-4
1-4
1-4
1-4
1-4
1-5
1-5
1-5
1-5
1-6
1-6
1-6
1-6
1-7
Contents
iii
Defining and Using a Diagnostic Profile .................................................... 1-7
Viewing Table Diagnostics ................................................................ 1-8
Version 4.1 GA Release Enhancements ......................................................... 1-8
Options for Implied Relationships.......................................................... 1-8
New Diagnostics ......................................................................... 1-8
iv
Release Summary
Chapter
1
AllFusion Data Model Validator 4.1
New Features and Enhancements
This document summarizes the enhancements made to AllFusion® Data Model
Validator during the 4.1 release cycle, including the base Version 4.1, Version 4.1
SP1, Version 4.1 SP2b, and Version 4.1.4 SP1. This information first appeared in
the General Considerations section of the Readme file for each version. The
information is summarized here so that you can review the list of cumulative
enhancements for the entire version cycle.
Version 4.1.4 Service Pack 1 Enhancements
The following enhancements were made to AllFusion Data Model Validator for
Release 4.1.4 Service Pack 1:
Enhancements have been made to database extraction for DB2 and
ODBC DSN.
An option has been added to select a new model to compare.
Support has been added for Windows authentication when connecting to
AllFusion Model Manager (ModelMart).
Severe Errors and Errors are now separated on the Reports menu.
Database Enhancements
Several enhancements have been made to the way AllFusion Data Model
Validator handles database objects. When you create a new project by extracting
from a non-Oracle database catalog, the system generates a pick list of ODBC
drivers that are pertinent to the database platform you select. DB2 extraction
now retrieves Data Set Names. ODBC DSN retrieval is now database-specific.
AllFusion Data Model Validator 4.1 New Features and Enhancements
1–1
Version 4.1 Service Pack 2b New Features
Option To Select a New Model to Compare
When you select Compare from the File menu the Select Projects to Compare
dialog is displayed. In previous releases, you could select from projects that were
already open, or from projects that had been saved. With 4.1.4 SP1, a "New"
button has been added to this dialog. When you click New you can create a new
project to include in the list of projects eligible for comparison.
Support for Windows Authentication
The ModelMart Connection Manager dialog has been changed to include the
option to connect using Windows authentication when using SQL Server Version
7 or later, and Oracle Version 8 or later.
This enhancement allows you to choose Windows authentication instead of
database authentication when connecting to the AllFusion Model Manager
database. When you choose Windows authentication, your current Windows
user identification is used when making the connection to the database.
Enhancements To Reports
An enhancement has been made to the Reports menu that enables you to create
separate reports for Severe Errors and Errors. To access the new report options,
first select the Diagnostic tab for your open project. Then, from the Reports menu
select Diagnostics. New options for separate Severe Errors and Errors reports are
displayed on the sub-menu.
Version 4.1 Service Pack 2b New Features
The following enhancements were added to AllFusion Data Model Validator
(AllFusion DMV) for Release 4.1 Service Pack 2b.
Direct Access to data models stored in AllFusion Model Manager
New option for relationship processing
Processing case-sensitive models
Option not to force uppercase
Display of table diagnostics in the table tree
1–2
Release Summary
Version 4.1 Service Pack 2b New Features
Direct Access to AllFusion Model Manager Models
With Service Pack 2b, you can use AllFusion DMV to read models stored in
AllFusion Model Manager (AllFusion MM), without using AllFusion ERwin
Data Modeler and the ERwin Add-In to call AllFusion DMV.
You can now connect to AllFusion MM through AllFusion DMV. To process an
AllFusion MM model, you simply open AllFusion DMV, connect to AllFusion
MM, open the AllFusion MM model, and then process the model in AllFusion
DMV.
New Option for Relationship Processing
A third option for processing relationships has been added for Service Pack 2b.
You can now process relationships using Foreign Keys and Synonyms. Using this
option, relationships are detected using both–a) foreign keys and b) implied
relationships based on synonyms.
For very large models, processing will be faster using the new option rather than
the All Relationships option, which infers relationships based on same name
attributes and on synonyms. (The Foreign Keys Only option does not infer any
relationships, but processes models with the defined foreign keys only. )
Processing Case-sensitive Models
A new option is added to process case-sensitive models. This is important
especially when detecting implied relationships. This option is possible, because
AllFusion DMV now can read all names (models, tables, attributes, and so on) in
case-sensitive mode. Prior to SP2b, all names were read as uppercase.
Option Not to Force Uppercase
Beginning with SP2b, there is an option to read all names (models, tables,
attributes, and so on) the way there are, without forcing the uppercase mode.
Previously, all names were read as uppercase.
Display of Table Diagnostics in the Table Tree
With SP2b, it is possible to see the diagnostics associated with a given table in the
table tree. If there are diagnostics associated, the table icon will change color to
red.
AllFusion Data Model Validator 4.1 New Features and Enhancements
1–3
Version 4.1 Service Pack 2b Enhancements
Version 4.1 Service Pack 2b Enhancements
The following modifications were made to the previously existing features of
AllFusion Data Model Validator (AllFusion DMV) for Release 4.1 Service Pack
2b:
Flagging invalid data types
Fixing long model names in reports
Reading models with the same name
Balancing parentheses
Flagging Invalid Data Types
AllFusion DMV flags any datatype found in a DBMS that does not support the
datatype. Previously, AllFusion DMV only looked for the datatype varchar2 in
DBMSs that did not support this data type.
Fixing Long Model Names in Reports
AllFusion DMV truncates any model name that is longer than thirty characters.
Previously, certain reports would not run when the model name was longer than
thirty characters.
Reading Models with the Same Name
When reading two AllFusion ERwin Data Model models with the same name,
AllFusion DMV changes the name of the model by adding a numeral. Previously
when reading models with the same name, AllFusion DMV would sometimes
confuse them, because of the same model name.
Balancing Parentheses
AllFusion DMV balances parentheses in generated DDL. Previously, this was not
being done in some situations.
1–4
Release Summary
Version 4.1 Service Pack 1 New Feature
Version 4.1 Service Pack 1 New Feature
The following new feature was added to AllFusion Data Model Validator
(AllFusion DMV) for Release 4.1 Service Pack 1.
New Diagnostics
New Diagnostics
The two new diagnostics were added:
Invalid On Delete rules–Not every DBMS accepts all the standard options
for the On Delete rules which are:
–
Restrict/No Action
–
Cascade
–
Set NULL
–
Default
AllFusion DMV now detects the invalid options for each of the supported
DBMS and reports them.
Invalid Data type–AllFusion DMV checks if VARCHAR2 occurs in any
model other than Oracle.
Version 4.1 Service Pack 1 Enhancements
The following modifications were made to the previously existing features of
AllFusion Data Model Validator (AllFusion DMV) for Release 4.1 Service Pack 1:
Tighter integration with AllFusion ERwin Data Modeler
Option to prevent displaying normalization flags in design
Enabling of On Delete Set Default for DB2
Tighter Integration with AllFusion ERwin Data Modeler
Models are now extracted from the current memory of AllFusion ERwin Data
Modeler. With this enhancement, AllFusion DMV will always read the latest
version of the file and will also read a new model that was not yet saved.
AllFusion Data Model Validator 4.1 New Features and Enhancements
1–5
Version 4.1 GA Release 1 New Features
Previously, if you had a model open in AllFusion ERwin Data Modeler, and
called AllFusion DMV using the Add-in, the name of the file was passed to
AllFusion DMV. After AllFusion DMV was loaded, it would read the .er1 file
directly from the hard drive. This meant that AllFusion DMV would read the
previous version of the file if the file had just been modified. It also meant that a
new model that had not yet been saved could not been read by AllFusion DMV.
Option to Prevent Displaying Normalization Flags in Design
You now have the option to choose whether to display, or not display,
normalization flags in design. The default is that the flags will not be displayed.
When you choose to turn this feature on, after the diagnostics are processed, the
columns that violate normalization rules are flagged. Previously, you could not
turn this feature off.
To choose to display the normalization flags, go to Tools, Preferences, and select
the Model Display Settings tab. Then select Show Normalization Errors.
Enabling the On Delete Set Default for DB2
The option Set Default in the On Delete for DB2 is now functioning. Previously,
this flag was not recognized for DB2.
Version 4.1 GA Release 1 New Features
The following new features were added to AllFusion Data Model Validator
(formerly known as ERwin Examiner) for Release 4.1 GA.
Analyzing part of a model
Customizing of diagnostics
Defining and using diagnostic profiles
Viewing table diagnostics
Analyzing Part of a Model
You can choose which tables you want to analyze. After you select a model to
load, a new Select Tables for Model dialog appears. On the dialog, you can select
or deselect which tables to load. Thus, you can check specific parts of a model
without having to load the entire model. This saves time especially when
processing very large models.
1–6
Release Summary
Version 4.1 GA Release 1 New Features
Customizing Diagnostics
You can select which diagnostics to run and choose the severity level for each
diagnostic. You can choose the diagnostics for the current model or save your
diagnostics options as a profile for later use. This feature allows users to define
what is important to the project, department or company. It also allows the
manager to define the standard that everyone is to use to check his or her
models. The standard can help to assure that important issues are always
verified.
The new Diagnostics Messages dialog will appear when you click the new Select
Individual Diagnostics button on the Diagnostic Settings tab on the User
Preferences dialog. You can use the Diagnostics Messages dialog to select the
diagnostics you want for the following categories:
Column diagnostics
Index and constraint diagnostics
Normalization diagnostics
Relationship diagnostics
Defining and Using a Diagnostic Profile
The options selected for the diagnostics can be applied to the current model or
saved as a profile and applied to every model within a project, a department or
the entire company. The ability to save the profile and associate it with any
model allows the manager to assure that the correct profile will be used for all
the models for which he has responsibility.
To make your diagnostic choices applicable to the model after the current
session, you must save the profile and connect the profile to the model. On the
Diagnostic Messages dialog, you have the following options:
Open a profile
Save and update a profile
Connect to a model
Disconnect from a model
Restore current defaults
Restore original defaults
AllFusion Data Model Validator 4.1 New Features and Enhancements
1–7
Version 4.1 GA Release Enhancements
Viewing Table Diagnostics
A new Table Diagnostics button appears to the left of each table name that has
diagnostics associated with it. When you click on the button, a window displays
to show the diagnostics for that table.
This feature allows you to immediately identify all the issues related to a specific
table, thus improving your efficiency in detecting, understanding and fixing the
issues related to a table.
Version 4.1 GA Release Enhancements
The following modifications were made to the previously existing features of
AllFusion Data Model Validator for Release 4.1 GA:
Options for implied relationships
New diagnostics
Options for Implied Relationships
You can now specify how implied relationships are detected. In the new Implied
Relationship Derivation area on the User Preferences dialog, the following
options are available for detecting implied relationships: Primary Key (always
checked); Unique Constraint; and Unique Index.
This feature allows the user some flexibility in defining what implied
relationships the user is willing to accept in the model.
New Diagnostics
The following new index and constraint diagnostics have been added:
Primary Key Length Too Long (user-defined)
Index Length Too Long (user-defined)
Invalid Data Type for Index
The following new relationship diagnostics have been added:
Duplicate Foreign Keys
Possible Incomplete Foreign Key
The addition of theses new diagnostics further enhances the detection of possible
errors that would compromise the quality of the model.
1–8
Release Summary