Benjamin should note details at
http://www.stata.com/support/faqs/techsup/techsup.html
about contacting StataCorp Tech Support.
Nick
[email protected]
Martin Weiss
Such problems have come up before, and the advice is summarized in
http://www.stata.com/statalist/archive/2005-11/msg01084.html
Benjamin
> I have trouble with the save command. Sometimes variables in the
workspace
> "disappear" when I use the save command. Here is my simple code:
>
> -------------------
> global path2 "Z:\MemoryStick\Income Processes\SAS data sets\STATA
> Files\temp"
> insheet using "Z:\MemoryStick\Income Processes\Data\Unemployment
> Britain\UKUnemployment.csv", clear
> save "$path2\ukunemployment.dta", replace
> -------------------
>
> The spreadsheet contains only two variables and 38 observations which
are
> read in fine every time I run the first two lines. If I run all three
> lines
> together I sometimes get the full data set, but sometimes I don't. So
> either
> one of the two variables could be lost in the saving process. If lost,
the
> variable is not in the saved data set and also disappears from the
> workspace.
>
> As I am quite new to STATA I don't see what's going on. I hope someone
has
> an idea.
*
* 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/