f



Re: How to read data from stata file(.dta) in SAS 9.0 #2

by the way: if you still get errors, install a actual SAS version. The
below is for 9.1.3
Gerhard



On Mon, 28 Sep 2009 10:04:31 -0400, Gerhard Hellriegel
<gerhard.hellriegel@T-ONLINE.DE> wrote:

>try the following (adapt your dataset names):
>
>proc import out= hsb2 datafile = "c:\data\hsb2.dta";
>run;
>proc contents data=hsb2;
>run;
>
>Gerhard
>
>
>
>
>On Mon, 28 Sep 2009 00:25:37 -0700, kondal <kondal717@GMAIL.COM> wrote:
>
>>Hi friends
>>
>>I  used following code to read data  from stata  file ( SAS 9.0)  but
>>it shows error , help me
>>
>>proc import datafile="D:\SBL\Office docs\Sevices\sm\Selec42.dta"
>>out=mydata
>>dbms = dta replace;
>>run;
>>
>>Error:
>>DBMS type DTA not valid for import.
0
9/28/2009 2:07:17 PM
comp.soft-sys.sas 142828 articles. 3 followers. Post Follow

0 Replies
563 Views

Similar Articles

[PageSpeed] 55

Reply: