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   Richard Williams <>
To, "" <>
Subject   Re: st: -ssc hot- broken?
Date   Mon, 16 Dec 2013 12:42:01 -0500

At 12:16 PM 12/16/2013, Sergiy Radyakin wrote:
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.

I don't know if something got fixed somewhere but the ssc hot command now works for me under Stata 13.1, 12.1 and 11.2.

Sergiy, you are much more the expert on file types than I am, but I used saveold in Stata 13.1 and I could read the resulting file in 11.2. My vague recall is that one of the last patches to 11.2 enabled it to read Stata 12 files.

You've no doubt answered this before but how can I tell what specification is being used?

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:

Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME:   (574)289-5227
EMAIL:  Richard.A.Williams.5@ND.Edu

*   For searches and help try:

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