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


  • Subject: RE: Eval Exception Error Trapping
  • From: Buck Calabro <mcalabro@xxxxxxxxxxxx>
  • Date: Tue, 27 Jul 1999 15:37:19 -0400

David,
With all due respect, you are programming at a very advanced level compared
to most of us.  Speaking for myself, I deal with a lot of legacy code where
the I/O is ...intimate with the logic.  It sounds as though you've created
I/O functions that you bind into your programs - n-tier support implemented
all on one platform!  I'd bet that you could swap out native I/O for SQL I/O
with very little impact on your applications.

In my legacy environment, I'd have to visit all my programs, convert to RPG
IV (to be able to use procedures and their local variables!), add %error and
a function call to each of the I/O operations so as not to disturb the
program logic that surrounds that I/O. 

Keep posting - you're showing us (OK, me!) where the state of the art is!!!

Buck Calabro
Billing Concepts Albany, NY
mailto:mcalabro@commsoft.net

> -----Original Message-----
> From: David Morris 
> Sent: Tuesday, July 27, 1999 1:40 PM
> To:   RPG400-L@midrange.com
> Subject:      Re: Eval Exception Error Trapping
> 
> 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          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


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.