Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: fdasave question


From   "Joseph Coveney" <jcoveney@bigplanet.com>
To   "Statalist" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: fdasave question
Date   Tue, 23 Oct 2007 01:15:18 -0700

E. Paul Wileyto wrote:

I've been trying to use fdasave, and create a .sas file and a .xpf file
with value labels using the val option.

Can anyone tell me where Stata puts the .sas and .xpf files?  They are
not going to the using directory.  They are not going to c:\data.  They
are not going to my SAS folder.  And when I search for them, they do not
appear to exist.

--------------------------------------------------------------------------------

Stata seems to tell you where it's keeping all of the files, and it seems to
be just where you direct it to, even if by default.  See the lines below
that don't begin with a period (full stop) for the feedback that Stata gives
you during an -fdasave- command.  Is there something in the output text
that's different when you try the commands?

Joseph Coveney

. display in smcl as result "`c(pwd)'"
F:

. sysuse auto
(1978 Automobile Data)

. fdasave F:\auto_foreign.xpt, rename vallabfile(both)
the following variable(s) were renamed in the output file:

                   displacement -> DISPLACE
                     gear_ratio -> GEAR_RAT

warning:  internally recorded dataset name was shortened to auto_for in
         F:\auto_foreign.xpt

file F:\auto_foreign.xpt saved
file F:\auto_foreign.sas saved
file F:\formats.xpf saved



*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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