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

Re: st: Transfering multiple data to stata format.


From   Roger Newson <[email protected]>
To   [email protected]
Subject   Re: st: Transfering multiple data to stata format.
Date   Thu, 01 Sep 2005 22:21:54 +0100

At 19:21 01/09/2005, Amadou wrote:
Hi,
I have several data sets in spss format that I want to convert into stata
format.
I am using dbms copy v7 to do the job. But it won't accept multiple inputs.
It is painfull to select one by one.
Is there any efficient, faster way to code this?
I myself am a StatTransfer user, mostly because StatTransfer has a DOS command mode, which made it possible for me to write the -stcmd- package (downloadable from SSC) as a way for Stata programs to call StatTransfer. I presume that Amadou doesn't have StatTransfer.

DBMS Copy still doesn't have a DOS command mode (I think). However, I seem to recall that DBMS Copy has batch files, written in a command language of its own. Amadou might possibly write one of these batch files, or even write a Stata program to write one of these batch files.

I hope this helps.

Best wishes

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