Suggested methods to determine same-or-different between like-named members are all well and good, but the original requirement was to find 'the most current version'. Say what you will about ISPF stats, they are the *only* way to evaluate versions. Given that two like-named members are different, how would the contents help you determine old vs. new? You cannot assume that the one with more lines is more current; source updates can involve deleting lines as well.
In my work area, I beg people to backup members via 'external copy', not edit/copy/create, which messes up version numbers columns 79-80. This is a daunting task. . . JO.Skip Robinson SCE Infrastructure Technology Services Electric Dragon Team Paddler SHARE MVS Program Co-Manager 626-302-7535 Office 323-715-0595 Mobile [email protected] From: Lizette Koehler <[email protected]> To: [email protected] Date: 01/12/2012 07:16 AM Subject: Audting PDS Datasets and comparing to find most current member Sent by: IBM Mainframe Discussion List <[email protected]> I have the need to audit many PDS datasets. I am trying to find the most current version of the member. The information I need is DSN MEMBER Lines of Member Member Date Created Member Last Updated USERID who Updated it (if available) DSN1 ABC 500 2011/01/02 2012/01/01 XYZ0001 Then I need to compare that information against similar datasets. So if I have DSN1 DSN2 and DSN3 I will need to 1) Get the above info from all 3 datasets 2) Compare results of DSN1 vs. DSN2, DSN2 vs DSN3 and DSN1 vs DSN3 Not so bad with 2 or 3 but I have around 50. So before I go and invent a REXX to do this, I thought I would see if there were any other recommendations about. I know about LISTDSI but was not sure if there was something else. Thanks Lizette Koehler ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN

