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



When creating service program, ensure it is created in a named activation
group so any resources tied to the service program is part of the
activation group. Then when you want to "deaactivate", you can do
RCLACTGRP CL command.

I do not believe there is a notion of deactivation of service program in
IBM i.





From: Nathan Andelin <nandelin@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 05/08/2017 01:19 PM
Subject: Re: Is there an API to "deactivate" an "active" service
program?
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>




I guess the question I would have would be why would you want to
deactivate
them?


I would like to "free" resources that may have been allocated by service
programs, after a period of inactivity. Plus, as Rob questioned, a newer
version of a service program may be available.


By deactivate them, do you mean reload them? You don't have to
deactivate
them. You can just run load again.


Calling QleActBndPgm() a second time doesn't "reload" a service program
that's already active. It just returns a flag indicating that it's already
active.

Also, make sure you are using QleActBndPgmLong or you are periodically
going to get crashes.


Thanks, I'll check that out.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.