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



--
[ Picked text/plain from multipart/alternative ]

 Could you not use the API QleActBndPgm, thus activating the srvpgm in  YOURLIB 
and using it as a base to call the procedures ?
Just a thought.

  Gene_Gaunt@ReviewWorks.com wrote:
Thank you Paul, that makes sense.

How can my program deactivate a subordinate service program and then
reactivate it?

Here's the background: My program runs in a spawned job and waits on a
socket read. When a request arrives from a client, the program calls a
service program procedure. If I recompile that service program during the
day, the spawned jobs continues to run okay, although MATACTAT -> sysptr
MATPTR shows the service program in QRPLOBJ. All of the socket code is in
the calling program (not in the service program).

I'd like to do this: After the spawned socket program receives a request
from a client, run MATACTAT -> sysptr MATPTR and check if the subordinate
service program is in QRPLOBJ. If true, then deactive the service program,
then activate the fresher version in production library, then call it. Is
this possible?

_______________________________________________
This is the MI Programming on the AS400 / iSeries (MI400) mailing list
To post a message email: MI400@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/mi400
or email: MI400-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mi400.



---------------------------------
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax


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.