|
On Fri, 2001-12-14 at 18:30, Troy.C.Dills@blum.com wrote: > I have a little project to do that maybe someone has already accomplished. > I need to search for a database file in every DDSSRC, RPGLESSRC, CLPSRC, > and RPGSRC from every source library on the system. Does anyone have > (RPG) code that would accomplish this task that they would be willing to > share. I will > be happy to give you an ataboy? We have Hawkeye but I don't know how > to use it. > > TIA > Troy Dills Hi Troy I've done this using a logical over one of the system xref files that just looked at files of type *SRC, and have a program loop through that doing a CHKOBJ on the requested member against each sourcefile read in. I'm sure it's not the best way to achieve it, but it works very nicely. If no-one comes up with anything better, I'll dig out the code next week. Regards, Martin -- martin@dbg400.net jamaro@firstlinux.net http://www.dbg400.net /"\ DBG/400 - DataBase Generation utilities - AS/400 / iSeries Open \ / Source free test environment tools and others (file/spool/misc) X [this space for hire] ASCII Ribbon Campaign against HTML mail & news / \
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.