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



On Mon, Feb 22, 2016 at 9:22 AM, <rob@xxxxxxxxx> wrote:
<snip>
But the LF backing the index won't necessarily get the new columns
added. I don't know the exact pattern, but when you do an ALTER TABLE
to add a column to the table, the LF doesn't always get that column
added.
</snip>

And that's a GOOD thing!
Again, if I do an ALTER TABLE ERPLXF.RCO ADD COLUMN
and add any column from this
http://www-01.ibm.com/support/knowledgecenter/ssw_ibm_i_72/db2/rbafzgvars.htm?lang=en-us
I may not automatically want them showing up in the logical files because
then I would have to recompile all RPG programs that use RLA to access
those logical files.

Actually, it's not a good thing ... because it's inconsistent.

SOMETIMES (and, again, I don't know the pattern), when you do an ALTER
TABLE, the index is updated with new columns added and sometimes it's
not.

Plus, there's no way to specify what columns are included in the LF
that backs the index.

If this were a keyed view, or a standard LF, we could specify what
fields are included in the LF.

Rob

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.