I am migrating from one ADCD system to a newer version. I wanted to see the differences in the supplied members.
In ISPF 3.13 (SUPERCE) you can compare dataset members.
- Enter the New DS Name and the Old DS Name
- If you leave the PDS Member List blank, you get prompted on the next page to select the members of interest. I specified *
- Compare type 1 (file) gives you a report on the members which are the same or not. See Output from file compare
- Compare type 2 (line) shows the contents which are different.
Output from file compare
MEMBER SUMMARY LISTING (FILE COMPARE)
DIFF SAME MEMBERS-COMPARED N-BYTES O-BYTES N-LINES O-LINES N-HASH-SUM O-HASH-SUM
** IEASYMCP 400 400 5 5 0EA58F29 0EA58F29
** IEASYMZZ 2000 2000 25 25 2D0DCCA3 2D0DCCA3
** IEASYSCP 800 720 10 9 6D0F7302 737B66E5
** IEASYSC2 800 800 10 10 7B933738 7B933738
** IEASYS00 3760 3760 47 47 61EAEE95 61EAEE95
** IGDSMS00 1920 1920 24 24 A24BDDC8 A24BDDC8
** IKJTSO00 9920 9920 124 124 46049FE2 46049FE2
Output from Line compare, CHNG output(3)
This shows the changes in context.
- At the front of the line is I or D, to show what was added or deleted
- The TYPE MAT= is the count of matching lines, and the line numbers within the files.
- TYPE=RPL is the count of lines replace, and the line numbers within the files.
NEW: USER.Z31A.PARMLIB(IRRPRMCP) OLD: USER.Z25D.PARMLIB(IRRPRMCP)
LISTING OUTPUT SECTION (LINE COMPARE)
ID SOURCE LINES TYPE LEN N-LN# O-LN#
----+----1----+----2----+----3----+----4----+----...
DATABASE_OPTIONS MAT= 3 00001 00001
DATASETNAMETABLE 00002 00002
ENTRY 00003 00003
I - PRIMARYDSN(COLIN.RACFDB.NEW) RPL= 1 00004 00004
D - PRIMARYDSN(COLIN.RACFDB2)
BACKUPDSN(SYS1.RACFDS.BACKUP) MAT= 1 00005 00005
You also get the output from the Output from file compare
Output from Line compare, Delta output(2)
This just gives the inserted and deleted lines. It is a subset of the data above.
NEW: USER.Z31A.PARMLIB(IRRPRMCP) OLD: USER.Z25D.PARMLIB(IRRPRMCP)
LISTING OUTPUT SECTION (LINE COMPARE)
ID SOURCE LINES TYPE LEN N-LN# O-LN#
----+----1----+----2----+----3----+----4----+--...
MAT= 3
I - PRIMARYDSN(COLIN.RACFDB.NEW) RPL= 1 00004 00004
D - PRIMARYDSN(COLIN.RACFDB2)
You also get the output from the Output from file compare.
One thought on “How do I compare two PDS on z/OS”