× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I'm an RPG programmer. I work with code that has been in existence for
quite some time. That code has indicators in it. I've always been
somewhat baffled that I can't search for an indicator, or group of them.
This wasn't so bad in RPG III when a line of code looked like NMR 01
33... at least then I could scan for 'NMR 01 33' and come close to the
spot I'm looking for.

In RPG IV, this is painful because AN/OR indicators span lines:
C NMR
CAN 01
CAN 33...

I have not found a way to use a regular expression to search across line
breaks, which would help a lot. No, the indicator cross reference isn't
particularly useful when I'm looking for NMR 01, when separately, both
indicators appear on hundreds of lines separately and together but only
in one block of code do they occur as NMR 01.

Yes, I know how horrible indicators are - I'm working with matching
record. Tell it to my vendor who refuses to use my surrogate keys
forcing me to match on customer name.

I'm not really interested in starting a 'how to fix the RPG code'
thread; I'd rather find out what others have done to search for
indicators with Lpex. WDSC 7.0.0.8 here. I just had a thought: does
RDi have a 'search for indicators' function?

I've been alternating between bookmarks and specially formated (easy to
search for) comments, but hoping for something better.
--buck

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.