[EpiData-list] Incompatible Key Variables

epidata-list at lists.umanitoba.ca epidata-list at lists.umanitoba.ca
Wed Feb 27 06:33:14 CST 2008

Try the following:

read gm
rename card to cardid
define card #####
card = integer(cardid)
merge card /file=under5b /table


Shavinder wrote
> I am trying to relate a child file (gm.rec which is growth monitoring data) with the  parent file (Under5b.rec, an under 5 children file)
> The card variable of Under5b.rec is <IDNUM> type while it is numeric in the GM.rec file. After giving the MERGE CARD /FILE=UNDER5B.REC command, I get the following message;
> Incompatible key variables.
> Current file: Card of type Float
> Merge file: Card of type Integer

More information about the EpiData-list mailing list