To analyze a type tree

Follow this procedure to analyze a type tree.

To analyze a type tree:

  1. Select a type and open the properties.
  2. In the type tree editor, right-click the root type.
  3. From the context menu, choose Analyze >
    • Logic and Structure,
    • Logic Only, or
    • Structure Only.
    The Analysis Results view opens.

    The Analysis Results view displays the name of the type tree, the type of analysis, and the status of the process. When the analysis process completes, the number of errors and warnings are displayed.

    Select the option under Transformation Extender preferences to change the default behavior to automatically save the type tree after analysis.

Error scenario

After analysis, the Analysis Results dialog displays error L201.

The error concerns the type File. File's first component, Record(s) is a series. The way the data is defined does not allow one Record to be distinguishable from the next Record in the series.

There are a number of reasons why the records might not be distinguishable. To see how you can define Record to solve the problem, you can look at the list of things that make objects of a component distinguishable in "Distinguishable Objects".

A good way to figure out how to resolve an error is to look at the data. When you look at the data, it is clear where a record ends. Ask the question: How can I tell the difference between one record and the next? Perhaps each record ends with a carriage return/linefeed.

In this case, perhaps you forgot to define CR/LF as the terminator of Record.

To resolve the problem, open the Properties for the Record type and define the terminator. After you define a terminator and analyze the tree again, no errors should occur.