MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » April 2014

RE: IBM i 7.2 & Power8



fixed

It's called Database Independence. The logical view of the data is different than the physical view which is exactly what a relational database does.

The weird thing to me is that Dbase did exactly that for years and IBM couldn't do it. The one issue that I can see is that RPG maintains a single copy of a variable and moves the database fields from the buffer to single variable so if you added a new field and you had two tables with the same name how would RPG know which table changed.

One way to deal with the issue is to externalize the I/O. Put your database I/O in an external service program but know days why bother. SQL does everything plus a thousand times more.

I think shops should do this always, at least with new stuff. Just one place to change things, no level check worries, or even recompiling a hundred programs, all that. I've got most of my I/O in my most recent project encapsulated into a service program. In fact somebody did a utility program once, if I remember correctly (a Joey?), that generated a service program with procedures for each field.

Alan


--------------------------------------------------------------------------------
Confidentiality Notice: This email may contain confidential information or information covered under the Privacy Act, 5 USC 552(a), and/or the Health Insurance Portability and Accountability Act (PL 104-191) and its various implementing regulations and must be protected in accordance with those provisions. It contains information that is legally privileged, confidential or otherwise protected from use or disclosure. This e-mail message, including any attachments, is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. You, the recipient, are obligated to maintain it in a safe, secure and confidential manner. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Thank you.
--------------------------------------------------------------------------------







Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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