Date: Tue, 18 Jul 2000 21:00:00 GMT
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
Organization: University of Pennsylvania
Subject: Re: SPSS to SAS
Dear Charles and JP,
Thanks for your help, Charles and JP (whose code lines I'll use in going
from SAS to SPSS).
Charles, I went to your web site and found the code. It worked well. And
then I remembered that same code from years ago but your Tips section had
some other nuances on this. My mistake was that SAS ASSIST could not
handle the SPSS PORtable file, corrupt for some reason,
but: libname abc 'c:\abc';
filename spssfile 'c:\abc\abcdef.por';
proc convert spss=spssfile out=abc.abcdef; run;
worked like a charm, fast as all heck on a non-Pentium Win95 machine!
I gather you are the same Charles Partridge of Partridge Utilities as I
recall from a while ago?
: Dear Adam,
: Try looking at my web site (www.sasconsig.com) under Tips and
: Techniques. There is a couple of tips on SPSS and SAS. I suggest you
: scroll through the tips or do a "FIND" on this page for "SPSS".
: Charles Patridge
: Email: Charles_S_Patridge@prodigy.net
: In article <firstname.lastname@example.org>,
: <email@example.com> wrote:
:> Porting SPSS 6.1.3 or 9.0.1 data file to SAS 6.10 Win95, or if
:> SAS 6.12 in a unix box, or more pressed, an NT-box. Simple file,
:> couple of strings, not very big. Use SPSS to convert to Excel, dBASE 3
:> 4, or ascii? Tried tab-delimited but probably fixed-width might be
:> to avoid the tab mark which SAS may not like if doing as a flat-file.
:> an efficient way, or inefficient - I'm not fussy.
:> Thought I had used a SPSS PORtable file before but probably not. The
:> portable files appear to be within the respective packages and just
:> different versions. SAS does have code to create a SPSS file but would
:> like to go the other way now. SPSS supposedly can create dBASE, Excel,
:> and some other general types, SYLK and so on. But not SAS.
:> Adam Sundor
: Charles Patridge - PDPC, Ltd.
: 172 Monce Road - Burlington, CT 06013 USA
: Phone: 860-673-9278 or 860-675-9026
: Email: Charles_S_Patridge@prodigy.net - Web: www.sasconsig.com
: Sent via Deja.com http://www.deja.com/
: Before you buy.