Member compare

You can invoke a standard SuperC compare like this:

Cmd  Member   Text                     Description   Show
cpn  FRED     USERID.QUAL2.QUAL3.QUAL4
cpo  BILL     OTHERID.SOME.DATA.OR.OTHER
Where the commands mean Compare New and Compare Old. The member with cpn against it is treated as the 'new' item, the other as the 'old' item. If the members to be compared have the same name, you need only enter it once, next to either of the commands. You do not have to enter the commands in any order, and you can enter one command, do other things (e.g. scrolling up and down), then enter the other.

You will be placed in browse of a temporary dataset containing the result of the comparison. The output report might look like this:

BROWSE -  USER01.XMTEMP.D9940610.T51752.SUPERC1 - LINE 000 COL001 080
COMMAND ===>                                       SCROLL ===> HALF
*************************** TOP OF DATA  ***************************
SUPERC - MVS/PDF FILE/LINE/WORD/BYTE/SFOR COMPARE UTILITY - V2.12
NEW: USER01.USER.CLIST(FRED)                   OLD:USER01.USER.CLIST(BILL)
 ID       SOURCE LINES
     ----+----1----+----2----+----3----+----4----+----5----+----6----
 I -      ISPEXEC VPUT (XXX) PROFILE
 D -      ISPEXEC VPUT (XXX) SHARED
 I -         ISPEXEC VPUT (XXX) PROFILE
 D -         ISPEXEC VPUT (XXX) SHARED

The report is SuperC standard; full details of the SuperC listings are available in the ISPF/PDF Guide supplied by IBM.

extended compare

The extended compare can be used to: The extended compare is invoked by using NEW/OLD prefix commands instead of CPN/CPO. Instead of going directly to SuperC, the extended compare panel is displayed:
 -------------------------- SuperC extended --------------------
 Command ===>

    1  Compare         - Compare using SuperC
    2  Merge           - Merge using SuperC
    3  Logical compare - Compare only the change control areas

    New ===> USER01..USER.CLIST                       <
 Member ===> FRED    <
    Old ===> USER02..USER.CLIST                       <
 Member ===> FRED02   <

  Merge ===>                                          <
 Member ===>          <
 (Dataset names should be fully qualified, without quotes)
   ===> 2 < Leftmost compare column (zero for full width compare)
   ===> 72 < Rightmost compare column

1: Compare

This will compare the New and Old files and produce a report which is displayed to the user in Browse mode. This is the same as CPN/CPO except that you can select column numbers to pass to SuperC. Columns outside the range will be ignored during the compare. Note that if you are comparing COBOL programs, you will probably want to exclude the sequence number columns 1-6 and 73-80, i.e. to select columns 7 to 72.

2: Merge

You can merge the files into a new file and be placed into Edit of the merged result. If you attempt a merge and the target file already exists, you are informed of this and the merge is not done. Merge uses SuperC to combine the two files. There is a full explanation of how merging works.

[Home]

Last updated: 21 Jan 2002