Date: Thu, 2 May 2002 16:48:45 -0400
Reply-To: Dwight Holmes <dholmes@pfaw.org>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Dwight Holmes <dholmes@pfaw.org>
Subject: Re: SAS-->SPSS file conversion?
Content-Type: text/plain; charset="iso-8859-1"
i should have clarified that i don't have SAS!! it's been suggested that i
can go through Excel, which i will try. thanks to one & all for kind
advice!
> -----Original Message-----
> From: Nancy A Rowe [mailto:narowe@omega.uta.edu]
> Sent: Thursday, May 02, 2002 4:44 PM
> To: Dwight Holmes
> Cc: SPSSX-L@LISTSERV.UGA.EDU
> Subject: Re: SAS-->SPSS file conversion?
>
>
> On Thu, 2 May 2002, Dwight Holmes wrote:
>
> Bring the dataset up in SAS and then use code like the following to
> convert it to a SAS portable file:
>
>
> libname tranfile xport 'c:\my
> documents\consult\price01\f040802\saspor2.prt';
>
> proc copy in=work out=tranfile memtype=data;
> select bothmrg;
> run;
>
> Then in SPSS use code like:
>
> get sas data='c:\my documents\consult\price01\f040802\saspor2.prt'.
> execute.
>
>
> The stuff after the 'c:...' is the path of the portable file and it
> assumes the datasets name in SAS is bothmrg. This works in
> most versions
> of SAS and SPSS.
>
> Nancy-
>
>
>
> > I've got a SAS (.sd2) file. Is there a way to convert it to
> an SPSS file?
> > Unfortunately, I'm using SPSS 8.0. Thanks!
> >
> > ___________________________________
> > Dwight R. Holmes
> > Education Policy Manager
> > People for the American Way Foundation
> > 2000 M Street NW, Suite 400
> > Washington DC 20036
> > (202) 467-4999 Fax (202) 293-2672
> > www.pfaw.org
> >
>
|