Running a Project PeopleCode Diff/Merge

This section discusses how to run a Project PeopleCode Diff/Merge.

Running a Project PeopleCode Diff/Merge enables you to compare all the PeopleCode definitions in your upgrade project with another database or file simultaneously. If you have numerous PeopleCode definitions to compare and merge, this feature can save you time.

Note: The Project PeopleCode Diff/Merge feature is only available for PeopleCode definitions. For SQL, HTML, and XSLT definitions, you need to merge each definition separately.

To run a Project PeopleCode Diff/Merge:

  1. Select Tools, Diff/Merge Project PeopleCode.

  2. Select either:

    • Database: select this option if you are comparing definitions with another database. The system will prompt you to sign on to the appropriate database.

    • File: select this option if you are comparing definitions existing in a file. The system will prompt you to navigate to the appropriate file.

After running the Project PeopleCode Diff/Merge process a blank merge interface appears and the PeopleCode Diff List window appears at the bottom of the Application Designer workspace.

Image: PeopleCode Diff List

The following is a screenshot of using the PeopleCode Diff List window.

PeopleCode Diff List

The Item column contains the reference to every PeopleCode definition in the project.

The Diff column indicates whether the comparison between the two definitions uncovered any differences. If there is no difference between the two definitions, the word “identical” appears in the Diff column. If there are differences between the two definitions, the word “different” appears in the Diff column, and indicates which definition is more recent. If the definition appears in only one location, the Diff column text will read "A only" or "B only.” If the definition is not present in either location the Diff column text will read "Absent in both.”

When differences are found, the system highlights the row in red also. A and B only lines appear in blue.

Double-click a row in the PeopleCode Diff List to populate the merge interface above and view the differences between the two definitions.

When working with numerous PeopleCode definitions, for ease of use you may need to reduce the number of rows appearing in the diff list. To filter what appears in the diff list, select or deselect these items from the View menu.

Field or Control

Definition

Show Identical Items

Show items that are identical in both data sources.

Show A-Only Items

Show items that exist only in the A: data source.

Show B-Only Items

Show items that exist only in B: data source.

Show Different Items

Show items where a difference is found between the two data sources.

Show Absent Items

Show items where a definition is absent in either data source.