Bookmark and Share

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


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

Re: st: error ocurred loading .ado file (ccmatch.ado)


From   Benjamin Niug <[email protected]>
To   [email protected]
Subject   Re: st: error ocurred loading .ado file (ccmatch.ado)
Date   Wed, 22 Feb 2012 13:21:09 +0100

Thanks.

It seems that in the folder C:\Program Files\Stata11\ado\updates\c

there was an update installed which included an <html (...)> header.
After deleting the files manually and reinstalling it seems to work.


2012/2/22 Phil Clayton <[email protected]>:
> It sounds like the ccmatch.ado file might have become corrupted, and has a "<" at the start of the file (leading to the error message).
>
> You could try running -viewsource ccmatch.ado- to see what's actually in the file.
>
> In any case I would try removing -ccmatch- and reinstalling it:
> ado uninstall ccmatch
> ssc install ccmatch
>
> Phil
>
> On 22/02/2012, at 11:02 PM, Benjamin Niug wrote:
>
>> It does not help (but thx).
>>
>> Doing that, I get the following reply:
>>
>> ----
>> package name:  ccmatch.pkg
>>        from:  http://fmwww.bc.edu/RePEc/bocode/c/
>>
>> checking ccmatch consistency and verifying not already installed...
>> all files already exist and are up to date.
>> -----
>>
>> But the error message mentioned before continues to appear when
>> executing -ccmatch-
>>
>> Any further suggestions?
>>
>>
>> 2012/2/22 Muhammad Anees <[email protected]>:
>>> This problem can arise because the command is not installed, So check
>>> from command line what -findit ccmatch- results.
>>>
>>> You will get
>>>
>>> ccmatch from http://www.elwoodcook.com/stata
>>>    ccmatch can be used to generate case-control matches in your data based on
>>>    criteria specified in other variables. / by Daniel Elwood Cook
>>>
>>> ccmatch from http://fmwww.bc.edu/RePEc/bocode/c
>>>    'CCMATCH': module to match observations on specified criteria / ccmatch
>>>    allows you to match observations (individuals) on the / basis of any
>>>    specified variables.  / KW: data management / KW: matching / Requires:
>>>    Stata version 11 / Distribution-Date: 20111213 / Author: Daniel E. Cook,
>>>
>>> Now you can click on the first line of each section and install it for use.
>>>
>>> On Wed, Feb 22, 2012 at 4:48 PM, Benjamin Niug
>>> <[email protected]> wrote:
>>>> Hi,
>>>>
>>>> I am faced with the following problem/curiosity: I have installed the
>>>> ccmatch.ado file. It worked nice some time ago.
>>>>
>>>> However, whenever I execute the command -ccmatch-, I get the following
>>>> error code:
>>>>
>>>> "unrecognized command:  < invalid command name
>>>> (error occurred while loading ccmatch.ado)
>>>> r(199);"
>>>>
>>>> All my other .ado files (basic and plus) seem to work fine and I am
>>>> using STATA 11. I tried to delete and reinstall the .ado and but it
>>>> did not work. Do you have a suggestion what to do?
>>>>
>>>> Thanks in advance.
>>>> *
>>>> *   For searches and help try:
>>>> *   http://www.stata.com/help.cgi?search
>>>> *   http://www.stata.com/support/statalist/faq
>>>> *   http://www.ats.ucla.edu/stat/stata/
>>>
>>>
>>>
>>> --
>>>
>>> Best
>>> ---------------------------
>>> Muhammad Anees
>>> Assistant Professor/Programme Coordinator
>>> COMSATS Institute of Information Technology
>>> Attock 43600, Pakistan
>>> http://www.aneconomist.com
>>>
>>> *
>>> *   For searches and help try:
>>> *   http://www.stata.com/help.cgi?search
>>> *   http://www.stata.com/support/statalist/faq
>>> *   http://www.ats.ucla.edu/stat/stata/
>>
>> *
>> *   For searches and help try:
>> *   http://www.stata.com/help.cgi?search
>> *   http://www.stata.com/support/statalist/faq
>> *   http://www.ats.ucla.edu/stat/stata/
>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/

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


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