Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: problem with -recode- inside an .ado file


From   Dino Gibertoni <dino.gibertoni2@unibo.it>
To   <statalist@hsphsun2.harvard.edu>
Subject   Re: st: problem with -recode- inside an .ado file
Date   Fri, 12 Oct 2012 15:26:34 +0200

it's ok, I just wasn't reloading correctly in memory the .ado file
after the corrections I made.

sorry for being hasty in sending the email.

all the best,


2012/10/12 Dino Gibertoni <dino.gibertoni2@unibo.it>:
> dear Statalisters,
> I have the following issue with the recode command.
>
> If this line:
>
> recode riskdiabeteantidorali riskdiabetecardiomio riskdiabetemicroalbu
> riskdiabeteneuropatia riskdiabeteproteinuria riskdiabeteretinopatia
> riskdiabeteterdieta riskdiabeteterinsu riskdiabetevasculopatia (2=0)
>
> is executed from inside and .ado file, I get the error message
> "unknown el riskdiabetecardiomio in rule". If I run the same line from
> the do editor or if I run the whole program as a .do file, it works
> perfectly. I don't understand where is the problem, can someone help
> me?
>
> Thanks for your attention
>
> --
> DINO GIBERTONI
> Dipartimento di Medicina e Sanità Pubblica - Alma Mater Studiorum
> Università di Bologna
> Via San Giacomo, 12 - 40126 Bologna Italia
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/



-- 
DINO GIBERTONI
Dipartimento di Medicina e Sanità Pubblica - Alma Mater Studiorum
Università di Bologna
Via San Giacomo, 12 - 40126 Bologna Italia

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index