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



Taking your module and creating a service program from it eliminates the need
to recompile (rebind) all the programs that use the module whenever your making
changes to your service program. Using binder source, you can formally define
the interface structures used to access the service program, and maintain
compatibility for prior generations of applications that consume your service
program.

There could be runtime improvements for your applications as well, if this
module is used in a large number of programs. When you bind a module, you are
copying that code into the new program object. Each program in the call stack
could be loading the same code (module) into memory, wasting resources and
time. Your program object sizes will be smaller overall when using service
programs.

Eric

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of David Foxwell
Sent: Friday, May 04, 2007 10:04 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: ILE question : parmameters, modules and service programs


Hello all,

After about 5 years since switching from RPGIII to free form, I fear that we
still have a lot to learn when about ILE.

We do not have a single service program. Instead, we use an ordinary module
containing all the exported procedures. I understand that means the code is
duplicated by each program that uses the module. My question is, so what? What
are we missing.

Another problem is when we need to add a parameter to an exported procedure. In
RPGIII. How do we do this when the procedure is called from a hundred others?

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.