May I humbly suggest the use of "slot numbers" <may> provide added flexibility when issuing urgent "fixes" for a particular procedure - to support specific *PGM/*SRVPGMs - without the need to rebuild ALL of the *PGM/*SRVPGMs that use that procedure, (especially if the parameter list has changed.) In other words, an updated *SRVPGM may be applied containing both new and old versions of the same procedure to support affected and unaffected *PGM/SRVPGMs.

This "buys time" until the next Release/Version, whereupon all of the code base using this procedure can be updated to use the fixed procedure.

Regards,
Brian.

On 21/03/2026 11:38, Daniel Gross wrote:
Yeah - the "late binding" that ILE implements with service programs is strange.

Dynamically resolved service programs, but "statically" resolved procedures with "slot-numbers" instead of procedure signatures grew me some grey hair.

I will never understand, why this decision was made - maybe someone with deeper insight in the development of ILE can clarify this.

Regards,
Daniel


Am 21.03.2026 um 12:29 schrieb Niels Liisberg <nli@xxxxxxxxxxxxxxxxx>:

.. but service program signatures quickly becomes a nightmare for version
control.. yes you can … but.. first you had one problem with control the
version .. now for each signature you have yet an issue..

Been there - done that.. never again…

lør. 21. mar. 2026 kl. 18.21 skrev Brian Parkins <goodprophet.bp@xxxxxxxxx>:

Even under these circumstances a *SRVPGM <may> provide a solution.

Multiple versions of the same procedure can co-exist in a single
*SRVPGM, (provided the names are unique). The flexibility of Signatures
and the Export Symbol Table.

100% agree that *SRVPGMs are the better option; /COPY and /INCLUDE
should - in the main - be used only for Prototype inclusion, (with /IF,
/DEFINE, etc. as required).

Brian.

On 21/03/2026 05:22, Niels Liisberg wrote:
The is some exceptions: versioning - where different clients need
different
versions at a certain point in time.
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.


--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.



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