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



All,

If I've got a SQL trigger, the system takes care of making sure the
trigger code runs under the same transaction level as the code calling
it.

If I've got a RPGLE trigger, I can check the value "Commit Lock Level"
field in the trigger buffer and USROPN any additional files under
commitment control as needed.

BUT, what if I've got an SQLRPGLE program that uses embedded SQL to
write to other files; can I check the "Commit Lock Level" and run the
appropriate SET TRANSACTION statement? Is there a better way?

Thanks!
Charles Wilt

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.