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

Re: st: Re: Transfering multiple data to stata format.


From   Roger Newson <[email protected]>
To   [email protected]
Subject   Re: st: Re: Transfering multiple data to stata format.
Date   Fri, 02 Sep 2005 13:28:38 +0100

At 05:51 02/09/2005, Friedrich Huebler wrote:
Amadou,

You can do many things with the help of Stata's -shell- command. In
Windows, -shell- is used to execute DOS commands. One ZIP program
with command line support is WinZIP (www.winzip.com/prodpagecl.htm).
There are also free alternatives like 7-zip (www.7-zip.org), which
can be run from a command line with the HX DOS Extender
(www.japheth.de/HX.html).
I think the problem in Amadou's case is that DBMS Copy cannot be run using a DOS command, and must instead be launched somehow in Windows, giving the user the responsibility to exit at the end. (At least, this was the case when I last looked into DBMS Copy some years ago, and was an important reason for preferring StatTransfer.)

Of course, if you look in the Program Manager and find DBMS Copy and look at its Properties, then you will presumably find a DOS command which launches DBMS Copy. However, I am not sure that you can tell DBMS Copy to launch itself and immediately to copy a list of files. I do not think that you can even tell it to launch itself and to immediately execute a script file of DBMS Copy commands. I think you probably have to launch DBMS Copy and then talk directly to DBMS Copy. (But don't quote me on that, as DBMS Copy may have improved, and may be owned by the kind of sue-minded people that usually get to run unfriendly software companies.)

Roger


--
Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
Division of Asthma, Allergy and Lung Biology
King's College London

5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom

Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
or 020 7848 6605 International +44 20 7848 6605
Email: [email protected]
Website: http://phs.kcl.ac.uk/rogernewson/

Opinions expressed are those of the author, not the institution.

*
* 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