× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello Michael,

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).

Let me know if you want a CL sample.

Best regards,
Carsten Flensburg

----- Original Message -----
From: "J Michael Smith" <JMichael.Smith@arch.com>
To: "MIDRANGE-L (E-mail)" <MIDRANGE-L@midrange.com>
Cc: "RPG400-L (E-mail)" <RPG400-L@midrange.com>
Sent: Monday, December 24, 2001 6:29 PM
Subject: Condition Handlers and CL


> I need to know when a CL program(OPM) has been ended via the ENDJOB
command.
>
> The only method that I am aware of that will allow this is: registering a
> condition handler.  All of the examples that I have been able to find are
> using RPG... which implies that I will have to write an RPG ILE program
that
> registers the condition handler, calls the CL program and if and endjob
> occures, excutes the required cleanup.
>
> Are there other methods available?
>
> TIA
>
> Michael Smith
> _______________________________________________
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
> To post a message email: MIDRANGE-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
> or email: MIDRANGE-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.
>



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.