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



Doug Palme wrote:

Without disagreeing with you Joe and with trepidation that I am opening up a can of sardines here; would you be willing to expound on the argument that I/O is faster than SQL? The reason I ask is there is an intense debate going on here locally over the issue of DDS defined PF's versus DDL defined files and whether SQL is faster or slower than normal I/O.

System i is a great platform because i5/OS will let you do I/O to a file either natively (CHAIN) or via SQL (FETCH), and it will let you make that choice whether you've defined the table with CREATE TABLE or DDS.

You can CREATE TABLE and CHAIN to it if you want.
You can CRTPF and FETCH from it if you want.

i5/OS doesn't care, unless you do SQL-only things like BLOBs. RPG doesn't have a BLOB data type :-)

Regarding performance, I rarely substitute SQL for native I/O. They are really intended for two different tasks. FETCH isn't CHAIN with a funny accent, and shouldn't be thought of as an equal substitution, in my opinion.
--buck

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.