The other thought might be to embed all your stored proc SQL statements into an RPG app.

Regards,
Richard Schoen
Web: http://www.richardschoen.net
Email: richard@xxxxxxxxxxxxxxxxx

-----Original Message-----
From: Richard Schoen
Sent: Wednesday, December 08, 2021 11:01 AM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Subject: Re: Has anyone monitored for a message within a stored procedure?

This looks promising:
https://www.itjungle.com/2017/06/12/guru-error-handling-sql-pl-part-1/

Or this if IBMi supports resignal
https://www.ibm.com/docs/en/iis/11.5?topic=db2-handling-sql-errors

Regards,
Richard Schoen
Web: http://www.richardschoen.net
Email: richard@xxxxxxxxxxxxxxxxx


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.