|
Tim At 06:36 PM 7/2/1998 -0400, you wrote: >Hello all, >I am curious... Why when you run a quicky query of a logical (file) >view of a physical file to *display, why doesn't the data display on >the screen the way the logical is keyed? This is normal behavior for all the query functions, namely SQL, Query/400, & OPNQRYF. In all cases the result set will be in arrival sequence unless you've specified the use of an index. In OPNQRYF with KEYFLD, in SQL with ORDER BY, and in Query/400 with the Sort fields option. (Join logicals are probably unpredictalbe in this case, since they are not a single file—interesting to test). BTW, did you know that you can also use the RUNQRY command with empty parentheses, like this? RUNQRY () filename Cheers Vernon Hamberg Systems Software Programmer Old Republic National Title Insurance Company 400 Second Avenue South Minneapolis, MN 55401-2499 (612) 371-1111 x480 +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
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.