|
www.jcrcmds.com has a source scan for multiple strings with several options but I don't believe it has a "*NOT contains" option. Should be easy to modify though. You could also whip up something pretty easily with CL & SQL. Just need to use an alias for the member. I did this a few years ago but don't have the code at hand anymore. Roger Harman COMMON Certified Application Developer – ILE RPG on IBM i on Power OCEAN User Group > Date: Mon, 18 May 2015 13:44:16 -0500 > From: booth@xxxxxxxxxxxx > To: midrange-l@xxxxxxxxxxxx > Subject: Re: Bulk source search ignoring commented-out code > > Probably beating on a dead horse here. Nevertheless, RDi has a couple > of features you would absolutely love. > > First is the "Filter view" which allows you to choose "Code" and then > all that you see in the pane is uncommented code. All that commented > code just disappears until you call it back. > > Second is the search. You search for *mdy and you are given a pane with > every instance. You can click on an instance and the section of code > will be presented to you in your programing pane. > > I did not see an option for complex search of, say, search for *mdy only > on uncommented lines. > > Still, consider RDi. > > On 5/18/2015 1:17 PM, Dan wrote: >> I need to do a bulk search of source (ala FNDSTRPDM) but with the ability >> to ignore all comments. >> >> I'm guessing this is custom-written app, but it seems to be that this would >> be a valuable tool for many programmers, especially for those in shops >> where code is never deleted outright, but is commented-out. >> >> Specifically, I am looking for all usages of '*MDY' (and other formats >> utilizing 2-digit years). >> >> Has someone already invented this wheel? >> >> - Dan >> > -- > Booth Martin > www.martinvt.com > (802)461-5349 > > Doubt isn't the opposite of faith; it is an element of faith. > -- Paul Tillich, German theologian and historian > -- > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/midrange-l > or email: MIDRANGE-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l. >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.