"Stocker, Herman" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED] .cendant.org>... > G'day, > > I have a problem that I hope someone has come across before and has or knows > of a utility to program that will help me out. > > I have a corrupt IMS Referral library and it seems to have been corrupted > for a long time. I have no good back ups of it. It has over 14,000 members > and looking at it there seems to be a very large number that are NG. > > I am thing that if I can read the first record of each member and compare it > to the member name I will be able to delete all the bad members. Then it > will be up to the development team to add any missing members. > > TIA. >
Do you have SAS? If so, you can make a flat file of the PDS with PROC SOURCE. It adds a separator in front of each member, that you can have filled with the membername. Then you have a flat file with the membername before the contents of each member. You can process this flat file by checking the first record of each file for the membername from the separator. Kees. ********************************************************************** For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt. Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286 ********************************************************************** ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html