×
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.
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.
Making a change in a procedure requires you to recompile 100's of programs that
use that module.
If you had the procedure in a service program, you'd only recompile the one
service program.
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?
Since you can't have procedures in RPG III, I'll assume you meant RPG IV.
Simple, you add the parameter with OPTIONS(*NOPASS).
Means extra code in the procedure to deal with the fact that a parameter may
not be passed. But
that'd much easier than dealing with 100's of programs that call that procedure.
HTH,
Charles
This e-mail transmission contains information that is intended to be
confidential and privileged. If you receive this e-mail and you are not a
named addressee you are hereby notified that you are not authorized to read,
print, retain, copy or disseminate this communication without the consent of
the sender and that doing so is prohibited and may be unlawful. Please reply
to the message immediately by informing the sender that the message was
misdirected. After replying, please delete and otherwise erase it and any
attachments from your computer system. Your assistance in correcting this
error is appreciated.
As an Amazon Associate we earn from qualifying purchases.