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



<John Yeung>
From where I'm sitting, even OPM provides
the ability to "have procedures that can be stored in different
objects and called". These external procedures are known as... OPM
programs.
</John Yeung>

The very diffrence between a PGM and an ILE SRVPGM is, that a SRVPGM has multiple entry points: a SRVPGM is a collection of exported procedures with shared memory. Each procedure could have private variables too.
One of the patterns, often used in Business applications are (for example) DataAccess Modules providing readNext() read(key), update(), insert(), delete() setOrderBy(), newCursor().... If you would try this with OPM and programm call, you would end up with unreadable and unusable code.
Second point for ILE is, that the compiler does more work for the programmer, compared to OPM. Compared to C/C++/Java/C# on other platforms, the ILE compiler does this job not very well and the IDEs and Editors are even worse.

BTW: if RPG would disappear, there are better alternatives out there. For my person, the one and only reason writing RPG programms is to work with an AS/400. I'm not working with an AS/400, because it has an RPG compiler. Quite a lot of the RPG discussions is reminding me to Aesop's Fable: The Fox and the Grapes.

D*B

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.