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" <>
Subject   Re: st: Stata and stat-transfer
Date   Mon, 13 Jan 2003 15:35:55 +0000


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 for 

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 Shephard
Genetics Statistician
ARC Epidemiology Unit, University of Manchester

"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:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index