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



CREATE INDEX FileL
ON FileP ( Field1, Field2, Field3 )
Where AllInOne = '1'
RCDFMT MyRcdFmt ADD ALL COLUMNS;

HTH,
Charles

On Thu, Feb 23, 2012 at 3:30 PM, Kurt Anderson
<kurt.anderson@xxxxxxxxxxxxxx> wrote:
For the first time I'm trying to use Where on a Create Index.  It works, except there are two differences that I'm noticing immediately:

1.  The File only contains the fields in the key list.

2.  The File's Format name is not the same as the Physical file's format name, but instead is the name of the index file.

Has anyone run into this?

This file has the correct format name and has all of the physical file's fields:
CREATE INDEX FileL
  ON FileP ( Field1, Field2, Field3 )

This file has the incorrect format name and has only the key fields in the file:
CREATE INDEX FileL
  ON FileP ( Field1, Field2, Field3 )
  Where AllInOne = '1';

I'm on IBM i 7.1.

Thanks,
Kurt Anderson
Sr. Programmer/Analyst
CustomCall Data Systems
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


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.