Comparing the Source Text of Two RulesThe 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.
You are already in the display function or change function for source text . The rule displayed here is referred to as the current rule from now on. This rule is compared with a second rule (known as the comparison rule ).
You have selected the table display .
Choose
You access the
Compare
dialog box.
Enter the rule that you wish to compare with the current rule.
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.
Choose
.
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
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
.