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




Denis,

If you are thinking of creating a flat file with an index composed of a
single 'field', then it should not be too difficult to create a DDS
source member on the fly within an RPG or COBOL program.  You only have
three combinations of stuff:  field1-key-field2,field-key, or key-field.
Then calculate the lengths based upon record and key lengths, create the
DDS and issue a CRTPF against it.  I'm sure that I'm forgetting
something, but it really doesn't sound too difficult and could be a fun
little utility.

Andy Nolen-Parkhouse



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.