× 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.



Terry

Have you tried the "Indent source" option? It gives you a separate window with what looks like the result when you compile with *NOGEN and specify and indentation string.

It is not editable from there, but you WILL see the structure better.

You should also be able to right-click and show only subroutines or control items, say - that could also help.

Of course, the block nesting would be very nice and should not be all that much different from the ILE version - just a simple matter of programming, Vern says to Barbara!

HTH
Vern

On 12/18/2013 10:40 AM, Terry Hertel wrote:
Our (purchased) manufacturing system was originally developed in RPG III. The programs can be very difficult to read due to lack of indentation, lack of white space between groups, etc. Some of the subroutines run on for several pages and it becomes time-consuming, and frustrating, trying to find the correct end statement when you are looking for one. I frequently have to print that section of the program and manually connect the start and end statements. Blocked nesting functionality would be great to help with that but is not available for RPG source members. Unfortunately, we don't have the time/resources to convert our entire manufacturing system to RPGLE. The blocked nesting functionality should be supported for RPG source members. Votes for the RFE are appreciated: http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=17492.

----------------------------------------------------------------------

message: 1
date: Wed, 18 Dec 2013 08:18:22 -0600
from: Vernon Hamberg <vhamberg@xxxxxxxxxxxxxxx>
subject: Re: [WDSCI-L] Blocked Nesting

Hi Kurt

I never have to highlight anything for this to work - I have found that I need to put the cursor on the IF - at least, that is my experience so far. Maybe it works if I put the cursor on the ENDIF or ELSE - haven't tried that. Likewise, haven't tried SELECT yet. But maybe I'll give it a quick look today.

My memory says that highlighting, in general, did not work in the past, either. I had some expectation that if I highlighted something, that any blocks within that highlight would be found, and then any nesting in or around that would be shown - that was NOT the case, IIRC.

HTH
Vern


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.