Compare Program

Use CA File Master Plus to compare the contents of two programs or two program libraries.
Use this feature to complete tasks such as identifying any changes made to a program. Access this utility through the right-click menu, or you can compare programs not listed in your Directory List view by selecting a server and then selecting Compare from the CA File Master Plus, Utilities menu.

Follow these steps:

  1. Open the Directory List view.

  2. Select from the Directory List view one of the programs that you want to compare.

  3. Right-click the program and select Utilities, Compare.
    The Compare Program Utility wizard opens.

  4. Complete the following fields on the Old Data Set page, or verify that the prefilled information is correct:

    • Data set name
      Specifies the name of the data set that contains the program that you want to compare.

    • Member Name
      Specifies the name of the program that you want to compare. Perform a wildcard search to select more than one program. Enter an asterisk (*) to compare all members.

  5. Click Next.

  6. Specify the name of the data set and member as on the New Data Set page. This identifies program that you want to compare to the Old program. If you are comparing members in a PDS, the Old and New data sets must both contain the members you want to compare.

  7. Click Next.

  8. Specify the output format:

    • Print
      Specifies the display format of the compare report. Select one of the following options:

      • Character
        Displays records in character format, up to 100 characters.

      • Instruction
        Displays records in machine instruction format.

    • Record display
      Specifies which records to display in the compare report. Select one of the following options:

      • All
        Displays all records.

      • Mismatched
        Displays only mismatched records.

      • Summary
        Displays only a summary of the data set compare.

    • Field display
      Specifies which fields to display in the compare report. Select one of the following options:

      • All
        Displays all fields

      • Mismatched
        Displays only fields that have different content

    • Max mismatches
      Specifies the maximum number of mismatched records to display.

    • Output page size
      Specifies the maximum number of lines per page for the SYSLIST output file.

  9. Specify the options that you want to include or exclude in the program compare.

    • Properties

      • Include
        Specifies that the following options are included in the compare.

      • Exclude
        Specifies that the following options are excluded in the compare.

    • Attributes
      The program link attributes: reentrant, reusable, refreshable, authorization, code, amode, rmode, and SSI

    • Entry point
      The program entry point location

    • Link date
      The date and time the program was linked

    • Total size
      The size of the program

    • CSECT name
      The name of the CSECTs

    • CSECT date
      The date carried in Binder IDR-B records

    • CSECT size
      The size of the CSECTs

    • Translator
      Identifies compiler information.

    • Content
      The module text

    • IDRZAP
      IDRZAP information carried in Binder B_IDRZ records

    • IDRUSER
      Information carried in Binder B_IDRU records added as a result of the Binder IDENTIFY statement or programmatically.

    • ESD
      External Symbol Information carried in Binder B_ESD records; for example, external references

  10. Specify the additional CSECT options for the compare.

    • CSECT compare
      Controls how CSECTs are compared. Specify one of the following options:

      • By name
        Specifies that CSECTs with identical names are compared.

      • By order
        Specifies that CSECTs are compared in the order in which they appear in the program.

    • (Optional) Include
      CSECTs that are included from the program comparison

    • (Optional) Exclude
      CSECTs that are excluded from the program comparison

      Note: You can use wildcards when specifying CSECTs to include or exclude. By default, all CSECTs are compared.

  11. Click Next.
    A summary page shows the options that you have selected.

  12. Click Finish.
    The summary results of your compare are displayed in the Report view.

You can display the detailed compare report by clicking the page icon in the top right corner of the compare report summary. When you close the compare report summary, the detailed compare report closes and is deleted.