× 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 31/07/2008, at 6:10 PM, David FOXWELL wrote:


We have not yet implemented the use of service programs. So each program has its own copy of the code.

Then you should start using service programs. It's not difficult.


When a procedure is modified, we recompile all programs that reference a procedure in the module of the procedure that is modified. This is making installation longer each time, as the modules become bound to more and more programs and more programs must be recompiled.

Yuck! Maintenance nightmare. Exactly what service programs are designed to avoid.


If we have 50 people using the same interactive program that weighs 40 Mb, made up of many modules bound by copy and no service programs, are there 50 copies of that program in activated or is it shared ?

All programs on OS/400 are re-entrant. There is only one copy of the code loaded. Each user has their own copy of variable storage but they all share the same copy of the code--even if they are running in different main storage pools. It's been that way since System/38.

Can we imagine any performance differences with the use of service programs instead of modules?

No. Only problem I am aware of is that HUGE service programs take some time to activate so it's possible to see increased start-up times for program activation but I believe some work has been done on recent releases to mitigate this. (And by HUGE I mean REALLY HUGE--it is unlikely that most people will ever experience this unless they shove all their procedures in a single service program and that's as stupid as binding common procedures into every program.)

Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists

http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------




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.