• Subject: RE: How to tell if a program is active?
  • From: "York, Albert" <albert.york@xxxxxxxxxxxxxx>
  • Date: Mon, 22 Nov 1999 14:21:52 -0800

If you use this technique you need to be careful if you use save while
active to do backups. You will not be able to save the program while it is
active. 

I create a data area with the same name in a library that I don't back up
and allocate it instead.

> ----------
> From:         Peter Dow[SMTP:pcdow@yahoo.com]
> Sent:         Monday, November 22, 1999 12:09 PM
> To:   MIDRANGE-L@midrange.com
> Subject:      Re: How to tell if a program is active?
> 
> Have the program allocate itself:
> 
> ALCOBJ OBJ((pgmname *PGM *EXCL))
> 
> 
> ----- Original Message -----
> From: Reger, Bill <breger@levitz.com>
> To: 'Midrange-L' <MIDRANGE-L@midrange.com>
> Sent: Monday, November 22, 1999 8:33 AM
> Subject: How to tell if a program is active?
> 
> 
> > I need to make sure that a particular program is running only once.  I
> do
> > not want multiple occurrences of this program to be running.  I'm sure
> my
> > mind is already on Thanksgiving time since I can't seem to figure out
> how
> I
> > can check whether a certain program is active or not.  Can anyone help
> me?
> >
> > William K. Reger
> > Senior Project Manager
> > Levitz Furniture Corporation
> > Phone:  (561) 994-5114
> > E-mail:  breger@levitz.com <mailto:breger@levitz.com>
> >
> > +---
> > | This is the Midrange System Mailing List!
> > | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> > | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> > | To unsubscribe from this list send email to
> MIDRANGE-L-UNSUB@midrange.com.
> > | Questions should be directed to the list owner/operator:
> david@midrange.com
> > +---
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Bid and sell for free at http://auctions.yahoo.com
> 
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
> MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
> david@midrange.com
> +---
> 
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].