Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: SAS --> Stata using format library with stcmd


From   "Grote, Veit Dr." <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: SAS --> Stata using format library with stcmd
Date   Thu, 28 Apr 2011 10:08:04 +0200

Dear all,
I try to convert a bunch of  SAS files to stata and like to use the SAS formats from a catalogue file (formats.sas7bcat). 
I try to use stattransfer from within stata with - stcmd -  for this task. However, I fail - no formats are attached to my Stata data. Does anybody know how this works? Or should it work and something is wrong with my Stattransfer version?

Additional information:
I use Stata 11.2 MP, Windows. Stattransfer10,latest update.
I am 1) unable to save the options as my new standard in the menu driven Stattransfer, 2) I am unable to make use of the "SET" commands from within Stata.  I can send a "Set" command to the command window but it obiously does not set the values permanently but only for the millisecond the command was send - at least I do not get a expected result with formats in the Stata data set. 
Doing things by hand typing directly into the command window: st --> SET READ-SAS-FMTS Y --> etc. works.

Thanks for your help.
Dr. Veit Grote, MSc 
---------------------------------------- 
Klinikum der Universität München 
Dr. v. Haunersches Kinderspital 
Lindwurmstr. 4 
D-80337 München 
Tel.: +49 (89) 5160-7908
Tel.: +49 (89) 5160-3428
Fax: +49 (89) 5160-3964 
---------------------------------------- 

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index