Might as well use grep accross your source members.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of sjl
Sent: Friday, October 10, 2008 4:50 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: Source code review package?
David wrote:
...This would probably be some type of scan utility where they could
fill in some variables that the tool would scan for.
Has anyone run across anything like that?
I don't know if such a thing even exists.
David -
Several years ago I wrote a command named FNDSTR that works similar to
FNDSTRPDM, except instead of one string FNDSTR allows you to specify up
to 20 search strings. It consists of a command, a CL command processing
program, and an RPG/400 program.
It currently only processes one source file at a time, but the command
source and the CL program could be fairly easily modified to allow you
to specify multiple source files and/or more search strings. The RPG
program scans the source statements and produces a list of the members
containing the search strings, and a separate report that shows the
source statements found within each member.
Let me know if you would like to see it.
I've been thinking about modernizing it anyway - I can send you an
example of the prompted command and the output produced by the program
so they could see if it would be beneficial for them, and I'd be happy
to make any suggested changes before sending you a copy of the code...
Regards,
Steve
--
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.