× 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 30-Jan-2014 10:28 -0800, Hoteltravelfundotcom wrote:
On 30-Jan-2014 09:47 -0800, Hoteltravelfundotcom wrote:
I have a file that is 'txt' not PF. Can I make a logical DDS LF on
that? <<SNIP>>

The file is created on the i as a 'txt' not PF.

Seems probable, the attempt is to suggest that the "file" is a Stream File (*STMF) created with a file-extension [i.e. an extension of the name] of '.txt', such that the "file" and data is stored outside of the /QSYS.LIB file system and therefore is not a Database Physical File *FILE object.? That is, data stored outside of [DB2] database files.

I need to have some index on it,

Presumably the attempt is to suggest that access to the data in the 'txt' file should be made accessible via an index of that data, for access by the database or the database SQL.? If the data is stream data identified as /records/ due to a known EOR indication, then the data from that 'txt' file could be imported from that other file system [i.e. elsewhere from /QSYS.LIB, but also under root] into a database Physical File under the /QSYS.LIB in order to allow a database keyed Access Path to be created [be that a keyed DDS LF via CRTLF or an SQL INDEX via CREATE INDEX].

Or if the indexed data is for more general text searching [or is not structured as "record" data], then consider text search indexes with the OmniFind® Text Search Server that provides "Extensions to Index and Search Non-DB2 Data":
<http://pic.dhe.ibm.com/infocenter/iseries/v7r1m0/topic/rzash/rzashwhatsnew.htm>


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.