×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




I'm learning this new fangled SQL stuff.  Is creating an index faster than 
selecting the records you want?  I like doing the prepared selection when need 
be, but it can be a hog when you're dealing with large files.


-----Original Message-----
From: DeLong, Eric [mailto:EDeLong@xxxxxxxxxxxxxxx]
Sent: Wednesday, April 30, 2003 3:09 PM
To: 'Midrange Systems Technical Discussion'
Subject: RE: Sorting


That's the gist of the correction(s) I made.  In SQL, CREATE INDEX to define
the keyfields, then you're set.  You can use the index in the KEYFILE parm.

Eric DeLong
Sally Beauty Company
MIS-Project Manager (BSG)
940-898-7863 or ext. 1863



-----Original Message-----
From: Metz, Zak [mailto:Zak_Metz@xxxxxx]
Sent: Wednesday, April 30, 2003 2:02 PM
To: Midrange Systems Technical Discussion
Subject: RE: Sorting


The number and length of the key fields varies wildly, but at times
exceeds what FMTDTA can handle. The problem I have with your suggestion
is that no LF exists so I would have to first write DDS to create it,
compile it, then RGZPFM, and finally blow away the LF. Again, the
sorting is only known at run-time.

Thanks, though!

> -----Original Message-----
> From: DeLong, Eric

> How many key fields?  
> 
> Is creating a new logical file out of the question?  If the 
> intent to have
> PF in a specific record order, why not RGZPFM with the KEYFILE parm
> referring to your logical....
NOTICE: This E-mail may contain confidential information. If you are not
the addressee or the intended recipient please do not read this E-mail
and please immediately delete this e-mail message and any attachments
from your workstation or network mail system. If you are the addressee
or the intended recipient and you save or print a copy of this E-mail,
please place it in an appropriate file, depending on whether
confidential information is contained in the message.


_______________________________________________
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.cgi/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.


_______________________________________________
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.cgi/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 ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.