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: -ssc hot- broken?


From   Sergiy Radyakin <serjradyakin@gmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: -ssc hot- broken?
Date   Mon, 16 Dec 2013 12:16:43 -0500

On Sun, Dec 15, 2013 at 8:06 AM, Christopher Baum <kit.baum@bc.edu> wrote:
> <>
> On Dec 15, 2013, at 2:33 AM,Dirk wrote:
>
>> Could it be that the command -ssc hot- is broken? I am receiving the
>> error message
>>
>> file http://repec.org/docs/sschotPPPcur.dta not Stata format
>> r(610);
>>
>> Dirk
>
> The routine that creates the file used by -ssc hot- contains the line
>
>         qui saveold sschotPPPcur, replace
>
> which should, run under Stata 13.1, create a file readable by Stata 11 or Stata 12.

Kit, Stata 13 can not create a dta file readable by Stata 11. Stata 13
saves datasets in specification 117, and with saveold in specification
115. Stata 11 supports up to 114.

Daniel, -use13- is designed to specifically read Stata 13 (new format)
datasets in specification 117. It should not read the datasets saved
from Stata13 with the saveold command (specification 115), but is
expected to fail with "file format error" error 610 as shown here:
http://www.radyakin.org/statalist/2013121601/use13err.png
If it did work for you, then either Kit's scripts temporarily produced
a file in specification 117, or there is a bug in -use13-, of which I
am very interested to hear.

A Windows program SaveTo9.exe (callable from batch files and from
Stata) by me (available from
http://www.radyakin.org/transfer/saveto9/cs/index.htm) will convert a
Stata dataset to the format compatible with Stata 9, which is
sufficient to store information currently communicated in the quoted
file.

If it is not possible to update the server side to reduce the ouput
file version, it is possible to do it on the client's side. Here is a
patched version of ssc_whatshot.ado of Stata 10:
http://www.radyakin.org/statalist/2013121601/ssc_whatshot.ado
Note that this is a modified StataCorp's file. It normally resides in
ado\base or ado\update. I suggest you do not modify the file there,
but rather do an:
set adopath ++ "YOUR PATH"
in your profile.do somewhere, and place the files there.

The patch requires saveto9.exe to be located in the same folder and
will work in Windows only. With that satisfied, it works just fine in
Stata 10:
http://www.radyakin.org/statalist/2013121601/ssc_hot.png

Hope this helps.

Best, Sergiy Radyakin

>
> Kit
>
> Research Papers in Economics (RePEc)
> http://repec.org
>
>
> *
> *   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/
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index