I don't know of any way to force another process to refresh it's subroutine cache (maybe someone else has the answer to that) but it's a good idea sometimes for a background process to periodically restart itself, i.e, for a program named WATCHER running as a phantom: 0001 MAX.TIME=3600 0002 LAST.TIME=TIME() 0003 LOOP 0004 GOSUB DO.SOMETHING.USEFULL: 0005 UNTIL TIME()-LAST.TIME > MAX.TIME DO REPEAT 0006 CHAIN "WATCHER" WATCHER does it's stuff for an hour, and then restarts itself via chain. This clears the subroutine cache as well as allowing it to reload a new version of itself. You could also have the program check a flag, or the timestamp on a program, and restart itself (or shut itself down cleanly) based on other events.
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: Tuesday, May 02, 2006 2:03 PM > To: u2-Users > Subject: [U2] [UV] Forcing Subroutine to be Re-read > > > Hi all, > > UV9.6.1.14 > HPUX 11 > > I have a background processor that calls a number of > subroutines. Everytime I make a change to any of the > subroutines, I have to shutdown the job and restart it > because the subroutine is still in memory. Does anyone know > of a way that I can force the background job to reread the subroutine? > > Thanks in advance, > > Scott > ------- > u2-users mailing list > [email protected] > To unsubscribe please visit http://listserver.u2ug.org/ > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.385 / Virus Database: 268.5.1/328 - Release > Date: 5/1/2006 > > -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006 ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
