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



I have to point you to the SQL Reference - saw some stuff about OPTIMIZE settings. The CRTSQLxxx commands have an ALWCPYDTA parameter.

OPTIMIZE(*FIRSTIO) can be done with the OPTIMIZE FOR n ROWS clause on the SELECT - see the reference.

Now we know why not much gets changed in old software! ;-)

Good luck

Vern

At 08:21 AM 6/13/2003 -0700, you wrote:
Vern, the application in question is strictly an inquiry subfile (list of vendors), so this is
input-only. The problem I am dealing with is that the program was poorly written and I am making
what would normally be a simple modification.

-snip-



I think that, because of the minor impact of the new problem, the SQL solution you propose may
become strictly academic now. However, I would still be interested in investigating this for
future purposes. Does SQL have an option like OPNQRYF's OPTIMIZE(*FIRSTIO) to open up the file
quickly?


TIA, Dan



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.