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