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



From: "rob@xxxxxxxxx"
You may write outstanding code. And you may have something
there on the millionth of a second. But you have to assume that
some strange things may happen ...

I already indicated that I plan on using commitment control with journaling for GL Journal Entry. It seems to me that one of the advantages of IBM i is that business can consider the circumstances, decide which tables are worth journaling, which transactions must commit (or rollback), or whether journaling and commitment control may be obsessive. Some DBMS vendors don't offer a choice.

someone adds a check constraint on one of the tables
and now you're WRITE fails for a reason alien to your code.

In an RPG program, a write-update combo should at least be conditioned on the write succeeding.

My inclination is to implement integrity constraints in application code rather than record definitions. One of the disadvantages of having a DBA is that division of responsibility for data integrity may be divided between two or more people, each using different tools, battling over turf. But if that's what a business wants to do, then journaling could cover their tails.

-Nathan.





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