Sort/Selection processing
John Esak
john at valar.com
Tue Jun 15 13:56:43 PDT 2010
Hmm, I forget does numrecs() return the number of records in the file,
period, or the number of used records? For this it would have to run the
freechain wouldn't it? So the next question is if you slect all records,
does it select the ones that are not used yet along with the used records?
I don't think I've ever checked this.
John
> -----Original Message-----
> From: filepro-list-bounces+john=valar.com at lists.celestial.com
> [mailto:filepro-list-bounces+john=valar.com at lists.celestial.co
m] On Behalf Of Barry Wiseman
> Sent: Tuesday, June 15, 2010 3:13 PM
> To: Kroboth, Joe
> Cc: filepro-list at lists.celestial.com
> Subject: Re: Sort/Selection processing
>
> On 6/15/2010 1:52 PM, Kroboth, Joe wrote:
> > Is there any way to test that the last record has been
> processed on a Sort/Selection processing table. I want to
> trigger a message to display some totals on the screen and
> ask if the user wants to continue. @done doesn't seem to
> work and @TS doesn't seem to have a value. Perhaps The only
> option is to pass the totals to the output processing try to
> do what I need from there (?)
> >
> > Thanks.
>
> On the (maybe remote) chance that your selection table reads
> the entire file in record order, your code could go in
> selection processing, conditioned with
>
> If: @rn eq numrecs(-)
>
> If there is a selection table or an input index in use, this
> would not work.
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
More information about the Filepro-list
mailing list