Thanks Jon.
I’ve since reverted to *new and appears to be doing fine. I had experimented with *new before and for some reason I cannot recall was running into some nuance that bugged me.
Anyhow the link you provided will certainly provide some enlightenment.


On Sep 15, 2020, at 6:55 PM, Nathan Andelin <nandelin@xxxxxxxxx> wrote:


It looks like your trigger mediator uses QleActBndPgm() to dynamically
activate service programs. If I recall correctly, subsequent calls to that
procedure won't activate a newer version of a service program. It just
retains the old version, which was previously loaded in memory, no matter
how many times you call QleActBndPgm(). The only way I know of to
deactivate a service program and reactivate it is by ending and restarting
the activation group.

For a while, I held out hope that the DEACTPG MI Instruction might
deactivate a service program, so that the next time QleActBndPgm() was
called, it would activate a newer version. But the MI Instruction didn't
help, either.
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,
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

Help support by shopping at with our affiliate link:

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by 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].