On Tue, 25 December 2001, "Carsten Flensburg" wrote:

> You could use the QMHSNDSM (Send scope message) API - it'll let you register
> a program to run at job end (or call stack entry end or TFRJOB).

This is a cool API that gets little attention. Two uses I've seen for it are 
for cleanup, especially for a job that abends, and for restarts of jobs you 
always want running -- the scope program simply resubmits the job which then 
sends a new scope message. (Of course, that last bit takes some planning for 
when you really want it to end.)

Tom Liotta

Tom Liotta
The PowerTech Group, Inc.
19426 68th Avenue South
Kent, WA 98032
Phone  253-872-7788
Fax  253-872-7904

The ALL NEW CS2000 from CompuServe
 Better!  Faster! More Powerful!
 250 FREE hours! Sign-on Now!

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

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