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]

Re: st: -ssc hot- broken?

From   Sergiy Radyakin <>
To   "" <>
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 <> 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 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:
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 will convert a
Stata dataset to the format compatible with Stata 9, which is
sufficient to store information currently communicated in the quoted

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:
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 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:

Hope this helps.

Best, Sergiy Radyakin

> Kit
> Research Papers in Economics (RePEc)
> *
> *   For searches and help try:
> *
> *
> *
*   For searches and help try:

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