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



Jerry,

You could use the "old-school" approach ...

If it is just this one program you need to "flowchart" ... you can do the following using SEU:

Open the member 

On the first line number field, type "x99999" and press Enter to "exclude" all lines from the display.

Now, issue the following commands, on the SEU command line:

    find BEGSR all x
    find ENDSR all x
    find EXSR all x

You now have an abbreviated "outline" of your program showing you where all the subroutines are defined, and also which ones and where they are used.

If you need to create a more detailed "flowchart" you can also issue:

   find IF all x
   find ELSE all x
   find ENDIF all x
and
   find DO all x
   find ENDDO all x
and
   find SELECT all x
   find WHEN all x
   find OTHER all x
   find ENDSL all x


Once you have copied the relevant information, or "hand drawn" your equivalent "flowchart", you can simply exit from SEU.

If you need to do this for more than one program, then repeat the above process for each program member involved.

Hope that helps,

Mark S. Waterbury




On Monday, February 27, 2023 at 11:08:34 AM EST, jerry ven <jerryven95@xxxxxxxxx> wrote:





Hi,


How to quickly prepare a flow chart of all the subroutines used inside a
RPGLE program which is on the SEU and RDi is not available to analyze
interconnected very long RPGLE programs.



Thanks.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.