• Subject: Re: Eval Exception Error Trapping
  • From: "David Morris" <dmorris@xxxxxxxxxxxxx>
  • Date: Tue, 27 Jul 1999 11:40:26 -0600

John,

It works pretty well to code an I/O server that provides database 
access and does error handling when business rules are enforced via 
triggers or constraints.  The error handling is really pretty simple with what 
is available today.  I just return a status flag and a set of error flags from 
the I/O server.


David Morris


>>> John Hall <jhall@hillmgt.com> 07/27/99 08:30AM >>>

...I agree.  We are being told that all business rules should be in the
database and not in our applications.  This means we need to rely on the
database to generate the error and RPG to handle it.
The error handling needs to be designed to allow programmers to easily
take advantage of this.  Yes I know you can do it now through *PSSR but
what percentage of programs in use today actually use it ??  I know I
inherited several thousand which never even heard of it.

...

John Hall
Home Sales Co.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the RPG/400 Discussion Mailing List!  To submit a new         *
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
* from this list send email to MAJORDOMO@midrange.com and specify       *
* 'unsubscribe RPG400-L' in the body of your message.  Questions should *
* be directed to the list owner / operator: david@midrange.com          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].