|
FYI -- After some tinkering I think I found a way to reactivate a recompiled program into never-ending spawned activation groups such that users don't have to end and restart their servers to get the refreshed code: (1) Run MATPGMNM when the spawned program starts, and save the program and library name in a variable. (2) When a client requests something that doesn't rely on the server's prior state (e.g. when a user launches a main menu item), run MATPGMNM again in the server. (3) If the current program and library names don't match the original (saved) program and library names, then the program has been recompiled, so send a scope message QMHSNDSM specifying the original (saved) program and library name, and end the program. (4) The operating system activates and invokes the fresh copy of the recompiled spawned program in the server. The client program is unaware. Cool!
As an Amazon Associate we earn from qualifying purchases.
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.