Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Stata and stat-transfer


From   "Neil Shephard" <mdeasnds@fs1.ser.man.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Stata and stat-transfer
Date   Mon, 13 Jan 2003 15:35:55 +0000

Ricardo,

Providing you have purchased a copy of Stat-Transfer this is 
perfectly feasable.

Assuming your using windows, you need to ensure that the dos-
version of stat-transfer (which is called st.exe) is in a directory that 
is included in your PATH environemnt (if you're not sure how to do 
this then look at http://www3.sympatico.ca/rhwatson/dos7/ for 
enlightenment)

You can then use the -!- command to invoke a call to the system 
to use stat-transfer (see -man shell-).

Thus within your do-file you should have something like (assuming 
the database is in the same working directory as Stata is in, I 
usually start my do-files with a -cd- command)

!st mydata.mdb mydata.dta
use mydata.dta

Hope this helps

Neil

Neil Shephard
Genetics Statistician
ARC Epidemiology Unit, University of Manchester
neil.shephard@man.ac.uk
neil.shephard@mindless.com

"Contrariwise, if it was so, it might be; and if it
were so it would be; but as it isn't, it ain't. That's
logic" - Tweedledee (Alice Through the Looking Glass)
*
*   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