Comparing the Source Text of Two Rules

Use

The comparison function enables you to compare the source texts of two rules. Differences can occur in the functions, in the parameters, and in the commented text. The rules are compared line by line. The comparison function displays all lines that differ from the current rule.

Prerequisites

Procedure

  1. Choose Start of the navigation path Rule Next navigation step Compare. End of the navigation path

You access the Compare dialog box.

  1. Enter the rule that you wish to compare with the current rule.

  2. Select the required options. You can choose between the following comparison options:

  • Compare comments

This option includes the line texts (comments) in the comparison.

  • Display differences only

After the comparison, the system only displays the differences between the two rules. If you do not choose this function, both the differences and unchanged sections are displayed.

  1. Choose .

Result

You access the Compare Rules screen. You see the attributes and administrative data of both schemas as well as the results of the comparison. The results are shown under the following headers:

  • Content unchanged:

If you do not flag Display differences only , the lines that are the same in both rules are displayed under this header.

  • Following lines were changed :

The lines from the current rule and comparison rule that show differences are listed under each other.

  • Following lines were added :

If the current rule contains lines that do not exist in the comparison rule, they are displayed under this header.

  • Following lines were deleted :

If the comparison rule contains lines that do not exist in the current rule, they are displayed under this header.

Note Note

If you have called this comparison function from the change function for source text, you can change the source text of the current schema directly from the Comparison of Schemas screen. For more information, see Changing the Source Text from the Rule Comparison Function .

End of the note.