|
One way to do that is to send a program message to the program and then do a receive message (using the message key) to see if the message was received by the program you were looking for.
Bob Cozzi Cozzi Consulting www.rpgiv.com
-----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Tom Liotta Sent: Wednesday, October 22, 2003 2:51 PM To: rpg400-l@xxxxxxxxxxxx Subject: RE: Best way to check if a certain program is running
rpg400-l-request@xxxxxxxxxxxx wrote:
2. Re: Best way to check if a certain program is running (David Gibbs)
Malchow, Grizzly wrote:
I'm trying to find a command or API that I can use that will let me knowIn the current job or another job?
if a program is currently running. Does anyone know of one that I could
use in a program that would do that? The command or API will need to
take place behind the scenes, so I'm not looking for an interactive
command.
Actually executing instructions or just anywhere in a call stack? Only in active activation groups or merely in an activation group that hasn't been reclaimed yet?
I.e., what exactly is meant by "running"? Or maybe better, what need is being addressed? There may be alternatives that can be used.
Tom Liotta
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.