×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Hi Loyd

You may want to check out the Redpaper (written by myself, Jon Paris and Susan Gantner) RPG: Exception and Error Handling at http://www.redbooks.ibm.com/abstracts/redp4321.html?Open

Multiple techniques discussed there (including the Java style try/throw/catch).

Regards

Paul Tuohy
ComCon
www.comconadvisor.com www.systemideveloper.com




Loyd Goodbar wrote:
I have a new ILE program composed of a CLLE driver module and multiple
(SQL)RPGLE modules. It implements a one-way process over data for
first-of-the-month processing; we are automating a manual process. If an
error should occur in any of the modules, I would like control passed to a
module to perform cleanup (displaying the job log, send an email, start
ended subsystems) and abort the program.

What is the best way to go about this? Do I need to write an exception
handler and attach to each module?

Thanks,
Loyd

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