Date: Tue, 18 Jul 2000 21:00:00 GMT
Reply-To: sundor96@ASSETS.WHARTON.UPENN.EDU
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: sundor96@ASSETS.WHARTON.UPENN.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?
Adam
charles_s_patridge@my-deja.com wrote:
: 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".
: HTH
: Charles Patridge
: Email: Charles_S_Patridge@prodigy.net
: In article <8l0t3l$jtu$1@netnews.upenn.edu>,
: <sundor96@assets.wharton.upenn.edu> wrote:
:> Porting SPSS 6.1.3 or 9.0.1 data file to SAS 6.10 Win95, or if
: pressed,
:> SAS 6.12 in a unix box, or more pressed, an NT-box. Simple file,
: numerics,
:> couple of strings, not very big. Use SPSS to convert to Excel, dBASE 3
: or
:> 4, or ascii? Tried tab-delimited but probably fixed-width might be
: better
:> to avoid the tab mark which SAS may not like if doing as a flat-file.
: What's
:> 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
: for
:> 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.