Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

RE: st: how to read .sas7bdat in Stata


From   "Lynn Lee" <[email protected]>
To   <[email protected]>
Subject   RE: st: how to read .sas7bdat in Stata
Date   Thu, 16 Aug 2012 17:06:28 -0700

I did not notice that. Now I have updated my profile in email address. 

Best Regards,
Lynn Lee


-----Original Message-----
From: Nick Cox [mailto:[email protected]] 
Sent: Thursday, August 16, 2012 1:54 AM
To: [email protected]
Subject: Fwd: st: how to read .sas7bdat in Stata

In an earlier post to Statalist I pointed out that you are not giving
your full name. A full name would be (e.g.) a given name and a family
name. The Statalist FAQ is emphatic that we expect full names, not
just (in your case) what looks like a given name. Please take action
accordingly.

Thanks, Nick


---------- Forwarded message ----------
From: Lynn <[email protected]>
Date: Fri, Aug 17, 2012 at 12:10 AM
Subject: st: how to read .sas7bdat in Stata
To: [email protected]


Dear all,

I am currently using "usesas" command to try to read .sas7bdat data set in
Stata 11. But the Stata told me the following:

The usesas command uses the savastata SAS macro to load the SAS dataset into
memory.
Large datasets may take a few minutes.
Edit your sasexe.ado file to set the location *
of your SAS executable file. *
C:\stata11\ado\plus\s\sasexe.ado
*! sasexe Version 2.3 [email protected] 11Apr2012
*! the carolina population center, unc-ch
 edit sasexe.ado (click, to edit the sasexe.ado file, remember to save when
done.)
 usesas requires that you have a working version of SAS on this computer.
r(499);

I changed the location in sasexe.ado file to where I save the downloaded
".sas7bdat" data sets. But the Stata still can not read the SAS data. What I
downloaded from website are all data sets in format of ".sas7bdat" . My
computer does not have SAS software. I also downloaded SAVASTATA.sas from
website, but looks like this file is for SAS software, not for Stata
software.

Now, I am stuck here. I appreciate for any suggestion about reading
.sas7bdat data sets in Stata.

Best Regards,
Lynn



*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index