[Babase] MEMBERS comparison out of order

Karl O. Pinc babase@www.eco.princeton.edu
Tue, 27 Sep 2005 21:27:12 +0000


On 09/27/2005 02:48:45 PM, Catherine Markham wrote:
> Hi Karl,
> 
> Not sure if this is just a simple sorting issue or indicates a  
> problem... check out the rows below where DOW's records are inserted  
> in DOV's.

This is a sorting issue.  It tries to clump all the -s
together (and all the +s too) in the output because
that's how they are in the source files -- if you
read the foxpro file you will see the "-" section
as-is.  So you can "read" both files from the diff
by paying attention to either just the -s or just
the +s.  Make sense?

> 
> (The +'s and -'s all make sense - no data errors here).
> 
> Catherine
> 
> 
>  DOU 2003-07-04 1.21 I 1
>  DOU 2003-07-05 1.21 I 1
> @@ -335904,22 +335659,7 @@
>  DOV 2002-03-27 1.22 C 0
>  DOV 2002-03-28 1.22 I 1
>  DOV 2002-03-29 1.22 D 0
> -DOV 2002-03-30 1.22 I 0
> -DOW 1984-07-06 9.00 I 0
> -DOW 1984-07-07 9.00 I 1
> -DOW 1984-07-08 9.00 I 2
> -DOW 1984-07-09 9.00 I 3
> -DOW 1984-07-10 9.00 I 4
> -DOW 1984-07-11 9.00 I 5
> -DOW 1984-07-12 9.00 I 6
> -DOW 1984-07-13 9.00 I 7
> -DOW 1984-07-14 9.00 I 8
> -DOW 1984-07-15 9.00 I 9
> -DOW 1984-07-16 9.00 I 10
> -DOW 1984-07-17 9.00 I 11
> -DOW 1984-07-18 9.00 I 12
> -DOW 1984-07-19 9.00 I 13
> -DOW 1984-07-20 9.00 I 14
> +DOV 2002-03-30 1.22 I 1
>  DOW 1997-03-09 1.10 I 1
>  DOW 1997-03-10 1.10 C 0
>  DOW 1997-03-11 1.10 I 1
> @@ -337561,7 +337301,6 @@
>  DOX 2001-05-15 1.22 I 1
>  DOX 2001-05-16 1.22 C 0
> 
> 
> 
> _______________________________________________
> Babase mailing list
> Babase@www.eco.princeton.edu
> http://www.eco.princeton.edu/mailman/listinfo/babase
> 

Karl <kop@meme.com>
Free Software:  "You don't pay back, you pay forward."
                  -- Robert A. Heinlein