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



There is answer to my question from the help text. It creates a new object.

The Update Service Program (UPDSRVPGM) command can be used to
replace modules of an Integrated Language Environment (ILE) bound
service program with other modules on the system, without requiring
you to change or recompile the bound service program. Modules being
replaced must be module objects (*MODULE) on the system.

Other jobs running the bound service program can run while the
service program is being updated with this command. The currently
running service program is moved to library QRPLOBJ and an updated
version of the service program will be inserted into the library of
the service program.

*Current activations of the service program will continue running using
the version of the service program in the QRPLOBJ
library *

On Mon, May 8, 2017 at 12:55 PM, Alan Campin <alan0307d@xxxxxxxxx> wrote:

Like I said, if you have a new object, how can you get the same virtual
address? If it is the same object (You haven't created a new one), then yes
you should get back a flag that says already activated and the activation
mark should be the same which means you should get the same procedure
pointer back.

Hmmm. Interesting question. If you run an update service program instead
of a deleting and recreating do a get a new virtual address? I never use
update but I wonder if that could cause an issue.


On Mon, May 8, 2017 at 12:41 PM, Nathan Andelin <nandelin@xxxxxxxxx>
wrote:


Is it possible that you are not running the RSLVSP api again when you
re-load? In that case, you would still be pointing at the old object.


No, I'm calling RSLVSP first, then calling QleActBndPgm(), which
unfortunately doesn't reload the service program. That just returns a flag
indicating that it's already active.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD




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.