Lizette,
My first thought was EasyTrieve's synchronous file processing. But after 
reading other responses to your post, that might not be the best approach, 
although it might still do some of the work.

To find the same member content with different member names in different 
DSNs, You could do the following:

1. List out the PDS stats to get the member name, number of lines, and 
create date.
2. Convert these into records listing DSN, member name, number of lines, 
and create date.
3. Append all of the results into one file.
4. Sort by Number of lines.
5. Use either EasyTrieve's synchronous file processing or REXX to identify 
potential matches by looking for multiples of the same number of lines.
6. For each group of line number matches, look for content matches.

I can think of several ways to do step 6. One would be to a check sum on 
each and a full compare on ones with the same check sum. Another would be 
successive Super Compares.

Whichever way you go, it doesn't look simple to me using standard 
mainframe utilities. Using only REXX looks like it would use a lot of CPU.

Have fun Lizette.

Thank you and have a Terrific day!

Jonathan Goossen, ACG, CL
Tape Specialist
ACT Mainframe Storage Group
Personal: 651-361-4541
Department Support Line: 651-361-5555
For help with communication and leadership skills checkout Woodwinds 
Toastmasters



IBM Mainframe Discussion List <[email protected]> wrote on 01/12/2012 
08:55:17 AM:

> From: Lizette Koehler <[email protected]>
> To: [email protected]
> Date: 01/12/2012 09:20 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


This e-mail message and all attachments transmitted with it may
contain legally privileged and/or confidential information intended
solely for the use of the addressee(s). If the reader of this
message is not the intended recipient, you are hereby notified that
any reading, dissemination, distribution, copying, forwarding or
other use of this message or its attachments is strictly
prohibited. If you have received this message in error, please
notify the sender immediately and delete this message and all
copies and backups thereof. Thank you.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to