|
-----Original Message----- From: Charly Jones <charly301@hotmail.com> To: midrange-l@midrange.com <midrange-l@midrange.com> Date: Monday, August 20, 2001 12:22 PM Subject: Re: triggers within commit cycles > >But if you use commitment control AND triggers, how >do you make sure the right thing happens? > Test, my friend, test and test some more... <vbg> Commit is something you do... trigger is something database does... if your trigger executes as part of the transaction, then any IO that it does can be covered by the commitment cycle. It's no different than calling a program or procedure to do the "common" stuff around IO. So design, then test and test some more. Then maybe a little more design, a little for Santa, a little for the raindeer.... a little more for Santa.... ;-) =========================================================== R. Bruce Hoffman, Jr. -- IBM Certified Specialist - AS/400 Administrator -- IBM Certified Specialist - RPG IV Developer "America is the land that fought for freedom and then began passing laws to get rid of it." - Alfred E. Neuman
As an Amazon Associate we earn from qualifying purchases.
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.