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



Barbara,

I was hoping the you would response.

Sorry for the typo... you are correct.  It should be "cancel" rather than
"condition".

Tom Liotta provided an excellent solution(see the thread in the MIDRANGE-L
forum) using the QMHSNDSM and retrieving the actjob job status via QUSRJOBI.

Thanks for your input.

Michael



-----Original Message-----
From: bmorris@ca.ibm.com [mailto:bmorris@ca.ibm.com]
Sent: January 02, 2002 03:27 PM
To: rpg400-l@midrange.com
Subject: Re: Condition Handlers and CL



>From: J Michael Smith <JMichael.Smith@arch.com>
>Date: Mon, 24 Dec 2001 11:29:33 -0600
>
>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?

Michael, I think you would be better using a cancel handler, rather
than a condition handler.

(But I don't know of any way other than using another program to solve
your problem.)

Barbara Morris

_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


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