Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: reclink SSC--type mismatch (StataSE 13.1)

From   "Idowu, Rachel T. (CDC/CGH/DGHP)" <>
To   "" <>
Subject   st: reclink SSC--type mismatch (StataSE 13.1)
Date   Thu, 3 Apr 2014 15:12:09 +0000


I'm using Stata SE 13 to run -reclink SSC-matches between two datasets.  I've run very similar matches in Stata SE 12 using reclink with no type mismatch errors for the past year.

But using the same code in Stata 13, yields:

*** begin  call and error  ****

reclink dt_dlv1 using "\\HIS Register_3Apr2014.dta", gen (score_censhis_b1) idm(idmaster) idu(uniq_id) wmatch(18) wnomatch (1) _merge(msrc_cnshis_lb)

4744 perfect matches found

type mismatch

*** end call and error  ****

I have other variables that I am trying to match across these two datasets, however, the reclink call for all of the other variables runs fine until I include the variable above 'dt_dlv1.'  In the master dataset, `dt_dlv1' is "float" and in the using dataset, `dt_dlv1' is "int."  For the purpose of simplicity, I present the code above with only a single variable.  In my actual reclink code, I am trying to match across 6 variables.

Is it a problem to have these two different data types?  Why is now a problem for Stata 13 but I never experienced this error for the same command and variable in Stata12?

Thank you for your help,

Rachel Idowu

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index