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



On Thu, 2005-02-17 at 23:05, Paul Morgan wrote:
> Rick,
> 
> How about another option?  Use descriptive names in your prototype like
> option 1 but use source member procedure names in the module like option 2.
> Use the EXTPROC keyword on the prototype to link the two together.  When a
> runtime error occurs they will see the source member procedure name in the
> error message.  For your example the prototype would look like:
> 
> D WritePaymentRecord... // why abbreviate when you don't have to?
> D                       PR                    EXTPROC('SP4351M')

I basically do this in RPGNext.  I call it "Dual Prototyping", it's one
of my favorite techniques.

I wrote an article about it here:
http://www.midrangeserver.com/fhg/fhg051204-story03.html

Joel Cochran
http://www.rpgnext.com



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.