• Subject: Re: Seperating I/O from business logic
  • From: John Myers - MM <jmyersmm@xxxxxxxxxx>
  • Date: Mon, 20 Nov 2000 09:37:39 -0500

Colin,

We do this in our motor vehicle applications suite in RPG ... a customer 
might use some of our systems, but not all.  By isolating file I/O from the 
business logic, we can implement even our most "integrative" modules with 
the customer's modules without difficulty.

The way to do this is to do all file I/O through calls to programs.  Each 
file that our system references has a standard data access program that is 
called to access that file's data.  The program has parameters for what 
file operation should be performed and a parameter for the specification of 
the data (data area) to be read / written.

BTW:  LANSA uses this same technique within its data repository.  This is 
one of the reasons why it has such outstanding performance for a "case" tool.

Hope that this helps!

John Myers
IBM Certified Specialist - AS/400 Technical Solutions
IBM Certified Specialist - Advisor for e-Business
Strategic Business Systems, Inc.
17 S. Franklin Turnpike, Ramsey, NJ 07446  USA
E-mail: mailto:jmyers@sbsusa.com   Phone: +1 (201) EASY 400   x131
Web:    http://www.sbsusa.com      Fax:   +1 (201) 327-6984

Free Sports League Management - Powered by AS/400
      http://www.ScoreBook.com

Get and route intelligence from your IBM AS/400 web site - WebSurvey/400
      http://www.WebSurvey400.com

Systems supporting the distribution operations of Motor Vehicle manufacturers
     http://www.VehicleSystem.com

At 06:58 AM 11/20/00, you wrote:
>I have seen old messages on this where people have discussed seperating 
>file and
>DDS operations from the business rules( validation and calculations).
>Whats the best way to start with something like this, how have other people
>acheived this. Is it even feasible with RPG?

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

This thread ...

Replies:

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 here. If you have questions about this, please contact [javascript protected email address].