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" <[email protected]>
To   [email protected]
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
[email protected]
[email protected]

"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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index