|
But does it work? It did for me.
On Feb 23, 2012, at 4:12 PM, "CRPence" wrote:
Note that changing the LF to specify DYNSLT just moves the
selection logic from the index [keyed access path] to the run-time
ODP [the member, or LIC database cursor]. If the Select and Omit
COMPare logic is [in]correct, the result of selection should not
be expected to change when changing from\to DYNSLT, only the where
and when that the select\omit logic is effected.
On 23-Feb-2012 15:44 , Monnier, Gary wrote:
Try the DYNSLT keyword.
A DYNSLT
A CODEV I SST(DOCODE 1 2)
A K RRAKCN
A K RRAKYR
A K RRAKTY
A K RRAKNO
A S STATUS COMP(NE 'X')
A S CODEV COMP(EQ 'EV')
A O ALL
Shannon ODonnell on Thursday, February 23, 2012 3:18 PM wrote:
Did not work.
Here's the actual code. It's still pulling in everything, not
just where my CODEV (derived field) = 'EV'
A CODEV I SST(DOCODE 1 2)
A K RRAKCN
A K RRAKYR
A K RRAKTY
A K RRAKNO
A S STATUS COMP(NE 'X')
A S CODEV COMP(EQ 'EV')
A O ALL
I can always do an OPNQRYF or embedded SQL, but I really needed
the index path to have already existed for the application so
it doesn't have to add any overhead each time it's used.
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.