Using Siebel Tools > Managing Repositories >

Comparing Two Repository Files


You can use the SRFDiff utility to compare two repository files. The differences between these files can include new, deleted, or modified objects. The SRFDiff utility saves any modifications that it finds in an XML file. If it does not find any differences, then it does not create this file.

To compare two repository files

  1. Log in to Siebel Tools.
  2. Choose the Help menu, and then click Technical Support.
  3. Make sure the repository files that you must compare use the same locale and language.
  4. Make sure the repository files that you must compare are part of the same major schema version.

    The SRFDiff utility only validates repository files that are part of the same major schema version. For example, it can validate repositories that each use a different minor schema version, such as 44.39.0.248 and 44.40.0.1.

  5. Choose the Tools menu, Utilities, and then click Compare SRFs.
  6. In the Compare SRFs dialog box, enter the following information:
    • Full path to the first repository file.
    • Full path to the second repository file.
    • Full path for the output file. If you do not specify a location, then the SRFDiff utility saves the output file to the SIEBEL_TOOLS_ROOT\OBJECTS directory.
  7. Click Compare.

    The SRFDiff utility does the following:

    • Validates each repository for file parameters, such as file existence, version, and language.
    • Creates one or more of the following output files:
      • diff_srf1_srf2.xml. Includes a description of the differences that exist between the repository files. It includes a list of new and modified objects. It might also include new objects that it finds in one repository but not in the other repository. It uses an attribute name and value list to display the differences it finds during the comparison. You can use this information to identify a modified or new object.
      • deleted_records_diff_srf1_srf2.xml. Includes a description of the deleted objects. In includes the definitions of objects that exist in one repository but not in the other repository.
  8. Analyze the differences in the xml file.

    You can manually inspect the results. A modified object includes the following code:

    <!-- Changed

    A new object includes the following code:

    <!-- Start: New object section
    -->

Using Siebel Tools Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.