Compare results - member summary


The following figure displays the Member Summary report when you set Display interactive member summary screen and Print member summary report to Y on the Compare - Source Print Option (Page 1) or Compare - JCL Print Option (Page 1) screen. Enter the appropriate line command to view the compare results.

Note that for a JCL Compare the headings O-Read and N-Read replace the headings O-Line and N-Line shown in the following figure for a Source Compare.

Compare Results - Member Summary

 File-AID ------ Compare Results - Member Summary-------------- Row 1 to 4 of 4
 COMMAND ===>                                                  SCROLL ===> CSR  
                                                                                 Old dataset: USERID9.FASAMP.COBSRC.OLD                              
 New dataset: USERID9.FASAMP.COBSRC.NEW                                         
 Line commands: B = Browse report; X = eXclude detail print; E = Edit-helper    
 --------------------------------- (Shifted) --------------------------------   
 S Name       Result   O-Line N-Line  Match Change Delete Insert O-excl N-excl  
 _ CBLPGM1    CHANGED      99     99     68     30      1      .      .      1
 _ CBLPGM2    MATCHED      56     56     56      .      .      .      .      .
 _ CBLPGM3    DELETED       .      .      .      .      .      .      .      .
 _ CBLPGM4    INSERTED      .      .      .      .      .      .      .      .
 *************************** END OF MEMBER SUMMARY *****************************

After you have completed the desired line commands for each member, use END to continue with the Compare - Report Print screen.

Field Descriptions

The member summary lists the compared members and identifies the old and new data sets.

S

Enter one of the following line commands in this field:

B

Browse the compare online report for the selected member. Displays the detail report for either a source code or JCL compare. See Standard Source Code Compare Online Report through JCL Compare Online Report - Across Wide for examples.

X

eXclude detail print. File-AID will not print the detail compare report for the excluded member.

E

Edit-helper. Edit the NEW member. If the member contains editable data, the Compare - Edit-Helper screen displays.

Name

Displays the compared member name.

Result

Displays compare result for each compared member:

MATCHED

Both old and new member are the same.

CHANGED

There are differences between the old and new member.

DELETED

This member has been deleted in the new data set.

INSERTED

This member has been inserted into the new data set.

ERROR

The compare failed to execute, possibly due to incompatible compare criteria, for example you specified COBOL sequence number for Line compare synchronization when comparing PLI source files.

O-Line

Displays number of compared lines in the OLD member (Source Compare only).

O-Read

Displays number of compared statements in the OLD member (JCL Compare only).

N-Line

Displays number of compared lines in the NEW member (Source Compare only).

N-Read

Displays number of compared statements in the NEW member (JCL Compare only).

Match

Displays number of matching lines.

Change

Displays number of changed lines.

Delete

Displays number of deleted lines.

Insert

Displays number of inserted lines.

O-excl

Displays number of excluded lines in the old member.

N-excl

Displays number of excluded lines in the new member.

Line Commands

To view or edit a specific compared member use the following line commands

B

Browse the report for a specific member. A member that has the status of Deleted or Inserted cannot be browsed because there is no data to view. See Compare Online Reports for more details.

X

Exclude a specific member from the printed detail report. A member that has the status of Deleted or Inserted has no detail data to exclude.

E

Edit a specific member. A member that has the status of Deleted or Inserted cannot be edited because there is no data to edit.
To use EDIT the following print options must be set:


    • Detail report style (S) Standard
    • Lines to print (A) All
    • Print new file excluded lines (Y) Yes

Compare - Edit-Helper

The following figure displays after you entered the E line command for a member on the Compare Results - Member Summary screen. This edit session displays the content of the NEW member with the non-matching lines of the OLD inserted as INFO lines. This allows you to interactively edit the NEW while simultaneously seeing the OLD in one session.

Compare - Edit-Helper

File  Edit  Edit_Settings  Menu  Utilities  Compilers  Test  Help            
 -------------------------------------------------------------------------------
EDIT       USERID9.FILEAID.CT.D03328.T114352                 Columns 00001 00088
 Command ===>                                                   Scroll ===> CSR
 ****** ****************************** Top of Data *****************************
 =NOTE= OLD DSN: USERID9.FASAMP.COBSRC.OLD(CBLPGM1)                            
 =NOTE= NEW DSN: USERID9.DASAMP.COBSRC.NEW(CBLPGM1)                           
 =NOTE= STATUS ----+----1----+----2----+----3----+----4----+----5----+----6----+
 000001 MATCH  000100 IDENTIFICATION DIVISION.                                  
 000002 MATCH  000200 PROGRAM-ID.    CBLPGM1.                                   
 000003 X      000300*--------------------------------------------------------  
 000004 X      000400* Program CBLPGM1                                          
 000005 X      000500* TRIANGLE Type DETERMINATION                              
 000006 X      000600*--------------------------------------------------------  
 000007 X      000700                                                           
 =NOTE= ====================== BEGINNING OF CHANGE BLOCK =======================
 ====== DELETE 000700 ENVIRONMENT DIVISION.                                     
 ====== CHANGE 000800 INPUT-OUTPUT SECTION.                                     
 =NOTE= ~~~~~~        ~ ~~~~~~~~~~~~~~~                                         
 ====== CHANGE 000900 FILE-CONTROL.                                             
 =NOTE= ~~~~~~        ~~~~~~ ~ ~~~~~~~~~~~~                                     
 ====== CHANGE 001000     SELECT INFILE    ASSIGN TO INFILE.                    
 =NOTE= ~~~~~~        ~~~~~~~~~~~~~~~~~    ~~~~~~ ~~ ~~~~~~~                    
 ====== CHANGE 001100     SELECT SORT-FILE ASSIGN TO SORTFILE.

Editing Tips

Use standard ISPF editing commands, for example you could use the MD (Make Data) line command to convert an OLD INFO line to a data line in the NEW.

Compare - Save Modified Member

The following figure displays after editing a member in the Compare - Edit-Helper screen. Enter a data set name when you decide to save the edited member. Press END to return without saving the member.

Compare - Save Modified Member

 File-AID -------- Compare - Save Modified Member ------------------------------
 COMMAND ===>                                                                   
                                                                               
 Destination Dataset Information:                                               
    Dataset name    ===>                                                        
    Member name     ===>          (Blank or pattern for member list)            
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
 Use ENTER to save the modified member into the specified dataset               
 Use END to not save the modified member                                        
         and return to the Compare Results Member Summary                       
                                                               

Field Descriptions

Specify a data set into which to save your edited member. The file can be a sequential file or a member of a PDS/PDSE.

Dataset name

Specify the name of a data set.

Member name

If the file is a partitioned data set, enter the member name or blank for member selection list.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*