Yes but it is not as pretty as try/catch/finally and thus it is not as good as LOTD (Language of the Day). tic
Duane
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Joe Pluta
Sent: Friday, June 20, 2008 12:54 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: Is RPG 'DEAD"
Christen, Duane J. wrote:
Point 3, Ending a job does not produce an exception, thus it can't be caught (Monitored).
But you CAN register a handler for this. If a job is canceled or
terminated in any way, the handler is called. This is very cool stuff.
Joe
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/rpg400-l.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit
http://www.messagelabs.com/email
______________________________________________________________________
NOTICE: This electronic mail transmission may contain confidential information and is intended only for the person(s) named. Any use, copying, or disclosure by any other person is strictly prohibited. If you have received this transmission in error, please notify the sender via e-mail.
As an Amazon Associate we earn from qualifying purchases.