LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (May 2002)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 2 May 2002 15:43:56 -0500
Reply-To:     Nancy A Rowe <>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Nancy A Rowe <>
Subject:      Re: SAS-->SPSS file conversion?
Comments: To: Dwight Holmes <>
In-Reply-To:  <>
Content-Type: TEXT/PLAIN; charset=US-ASCII

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.


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

Back to: Top of message | Previous page | Main SPSSX-L page