From the RPG IV Reference,

"What's New in V3R6/V3R2?
The major enhancement to RPG IV since V3R1 is the ability to code a module with more than one
procedure. What does this mean? In a nutshell, it means that you can code an [sic] module with one or more
prototyped procedures, where the procedures can have return values and run without the use of the RPG

If memory serves correctly, ILE was first implemented in the C-language at V2R3. ILE RPG (RPG IV) became available at V3R1, but there were no subprocedures. Hence the NOMAIN keyword did not exist on the Control (H) Specs. (We also had just the CALLB operation.)

So, it was only possible to write RPG IV *MODULEs with a single, (cycle-main) entry procedure.

Then V3R2/6 came along and the World began to change.


On 13/11/2017 18:43, Alan Campin wrote:
yea, but how does a *ENTRY module fit into that. You can do that and I have
seen people doing it.

Back when I ILE first shipped the tech journals were publishing articles
telling people that is how you write service programs. I remember thinking
"what the hell. This is not how you write a service program" and later
articles started appearing with procedures.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by 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.