How to: checking for duplicate records
Yes - I got this error too. The LIST statement should read:
list if (k = k[_n-1]) or (k = k[_n+1]) * if you only want the first of two records to appear: list if k = k[_n+1]
*** Of course you have to insert some duplicate records into a copy of bromar.rec first ***
|Indeed some of the line breaks threw it a bit. I reformatted below - but |still get that strange TRUNC error like: |. list if k = (( k[_n-1]) or (k[_n+1])) |Operator TRUNC is incompatible with String |Operation aborted
THANKS - works beautiful! Now I just have to figure how to save the output into a .rec file for working on it separately and I used SELECT IF or the AGGREGATE and \save option and all other ideas and seem not to be able to get the duplicate records saved into a new file - what am I missing here? Max
On 19 Jan 2006, at 14:27, epidata-list@lists.umanitoba.ca wrote:
Yes - I got this error too. The LIST statement should read:
list if (k = k[_n-1]) or (k = k[_n+1])
- if you only want the first of two records to appear:
list if k = k[_n+1]
*** Of course you have to insert some duplicate records into a copy of bromar.rec first ***
|Indeed some of the line breaks threw it a bit. I reformatted below
- but |still get that strange TRUNC error like:
|. list if k = (( k[_n-1]) or (k[_n+1])) |Operator TRUNC is incompatible with String |Operation aborted
EpiData-list mailing list EpiData-list@lists.umanitoba.ca http://lists.umanitoba.ca/mailman/listinfo/epidata-list
participants (1)
-
epidata-list@lists.umanitoba.ca