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



Whoa. Barbara, so this means I can add all the parameters I want to my heart's
content to the already previously existing procedures in a service program
without messing things up at the signature level? (In my case I name the
signatures myself).

Also, one still needs to create a new signature for the new program(s) that
actually use the new parameter, don't they? (Even if they use "arbitrary"
signatures such as I do, I don't like letting the binder do it).

--Alan


DennisRootes@xxxxxxxxxxx wrote:
If I had a procedure in a service program and I wanted to add a parameter
to it, is there any way to do so without re-binding all the programs that
use that service program? I know if you change the interior logic you are
fine but what if I made the new parameter *omit or *nopass? If it was
optional would the older calling programs be all right? Or is that just
wishful thinking? =)


It would work fine if you made the new parameter *NOPASS.

If you add a parameter option whose only effect is to get the RPG
compiler to relax one of its rules, you don't need to do anything to the
calling programs.

You mentioned re-binding all the programs. That would only be useful if
your service program changed its signature. If you change the prototype
for a procedure, you have to consider whether you need to _recompile_
all the callers.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.