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



Thanks. I plan to take a look at all of the angles as I get the chance.
Pete Helgren

Wilt, Charles wrote:

Pete,

Rob touch on the idea, but let me reiterate it.

You can use multi-membered files with SQL.  Using v5r3 partitioned
tabled support, you get the benefits of multi-member files without the
drawbacks.

CREATE TABLE FOO (A DATE) PARTITION BY RANGE(A) (STARTING('2001-01-01')
ENDING('2010-01-01') EVERY(1 YEARS))

SQL access methods, including ODBC and JDBC, see a single table but data
is actually stored in multiple members.  I don't know if RPG sees a
single table or if you have to use OVRDBF or the EXTFILE keyword on the
f-spec.

I would create all physical files using SQL DDL.  Since you can't have
an index on a SQL view, you may need DDS logicals for some RPG native
access requirements.  But for most RPG requirements an SQL index works
fine.


HTH,

Charles Wilt
--
iSeries Systems Administrator / Developer
Mitsubishi Electric Automotive America
ph: 513-573-4343
fax: 513-398-1121


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.