Statalist


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

st: AW: Probable bug in -zipfile-


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: AW: Probable bug in -zipfile-
Date   Tue, 27 Oct 2009 13:14:31 +0100

<> 

Try a blank after the comma in the -saving()- option!

*************
zipfile eq5d2.dta, saving(eq5d2, replace)
*************



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Fred Wolfe
Gesendet: Dienstag, 27. Oktober 2009 13:01
An: statalist@hsphsun2.harvard.edu
Betreff: st: Probable bug in -zipfile-

I used -zipfile- for the first time and obtained an error with the
first syntax. Stata usually lets one use "save,replace" even if the
file does not exist. So the behavior below was unexpected and kind of
a nuisance. And it is contrary to the help file.

. zipfile eq5d2.dta, saving(eq5d2,replace)
option saving() misspecified
r(198);

. zipfile eq5d2.dta, saving(eq5d2)
    adding: eq5d2.dta
successfully zipped eq5d2.zip

Fred
--
Fred Wolfe
National Data Bank for Rheumatic Diseases
Wichita, Kansas
NDB Office  +1 316 263 2125 Ext 0
Research Office +1 316 686 9195
fwolfe@arthritis-research.org

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index