|
>From: "Ray, Adam" <ARay@WIPFLI.com> >Date: Thu, 8 Nov 2001 09:29:54 -0600 > >I've been stumbling over this for weeks and have decided to contact the >experts. >I have a long list of files (over 500) that I need to process. I need to >search every character field in every file for the '*' character. I would >like to have one RPG program that will scan the records of the files for the >character. But since nearly every file has a different layout, I have no >idea how to accomplish this. Any ideas are greatly appreciated. Adam, there's an entry in the FAQ that has a program that does something similar to what you need. It checks for bad decimal data in zoned fields; it would be easy to modify it to check for '*' in character fields, and possibly change them. (Currently it just prints a report with the rrn and field name.) http://faq.midrange.com/data/cache/51.html Barbara Morris
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.