SAS to SPSS transfers

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

SAS to SPSS transfers

Tanya Temkin
I regularly work in SPSS with large files created by programmers in SAS,
which are then split into several Excel files (since total # of records
exceeds the # of records a single Excel file can hold) and forwarded to
me.  I then open and save the Excel files as separate SPSS files before
merging these into a big SPSS file. This is cumbersome and time-consuming
and I'm looking for tools to streamline the process.

A SAS-using friend recommended Stat/Transfer.  Any experience out there
with Stat/Transfer or any other application to directly transfer large
data files from SAS to SPSS and vice versa? (I'm using SPSS 14.0 and my
colleagues use SAS 8.x).

Thanks,

Tanya Temkin

Research Associate
AACC Reporting
Northern California Regional Office
The Permanente Medical Group


NOTICE TO RECIPIENT:  If you are not the intended recipient of this
e-mail, you are prohibited from sharing, copying, or otherwise using or
disclosing its contents.  If you have received this e-mail in error,
please notify the sender immediately by reply e-mail and permanently
delete this e-mail and any attachments without reading, forwarding or
saving them.  Thank you.
Reply | Threaded
Open this post in threaded view
|

Re: SAS to SPSS transfers

Simon Phillip Freidin
StatTransfer is okay.

You can read SAS 8 files directly into SPSS
Interactive :
File -> Open (change type to "SAS Long file name (sas7bdat)"), select file

or command language using the command "GET SAS"

At 10:33 AM 1/11/2006, you wrote:

>I regularly work in SPSS with large files created by programmers in SAS,
>which are then split into several Excel files (since total # of records
>exceeds the # of records a single Excel file can hold) and forwarded to
>me.  I then open and save the Excel files as separate SPSS files before
>merging these into a big SPSS file. This is cumbersome and time-consuming
>and I'm looking for tools to streamline the process.
>
>A SAS-using friend recommended Stat/Transfer.  Any experience out there
>with Stat/Transfer or any other application to directly transfer large
>data files from SAS to SPSS and vice versa? (I'm using SPSS 14.0 and my
>colleagues use SAS 8.x).


*** To unsubscribe from spssx-l email [hidden email] and put
UNSUBSCRIBE SPSSX-L in the body of your message ***



Research Database Manager and Analyst
Melbourne Institute of Applied Economic and Social Research
The University of Melbourne
Melbourne VIC 3010 Australia
New Tel: (03) 8344 2085 New Fax: (03) 8344 2111
http://www.melbourneinstitute.com/hilda/
Reply | Threaded
Open this post in threaded view
|

Re: SAS to SPSS transfers

Barnett, Adrian (HEALTH)
In reply to this post by Tanya Temkin
Hi Tanya
I have DBMS/COPY V8 and it works fine, although it does not support long
file names directly in SPSS. It truncates them to 8 chars when it reads
them in, and if you rename them to something longer, it will truncate
them again if the format you save to is SPSS. It handles SAS up to V9
(the company is owned by SAS so I imagine SAS support is pretty good,
although I've not tried to read or write SAS files in this version.)

I've had some problems trying to convert some SPSS files to Access, in
which the program terminated abnormally, but I believe that was caused
by the underlying Windows ODBC engine which DBMS/COPY was using, as
another program did exactly the same thing on the same file. Mostly SPSS
to Access has been fine though.

The list of file formats it handles is very extensive. The long filename
thing is a nuisance but not a showstopper. You will probably find more
and better information about its capabilities by Googling its name, as
the website (www.dataflux.com) seems to have been designed by
marketing/PR wonks not keen to let too many actual facts slip through,
or even to let you find where on earth the section on DBMS/COPY is - it
took me ages to find it. It's here:
http://www.dataflux.com/Technology/Products/DBMS/

I haven't tried Stat/Transfer but some colleagues use it with SPSS and
SAS and seem quite happy with that.

One cheaper alternative to both of these products might be to ask the
SAS programmers to use another format like CSV with variable names in
the top row. Even if they don't use that format, there must be plenty of
others they could choose which would avoid having to chop the file into
bits like this (which would probably simplify their lives as well)

Regards


Adrian

--
Adrian Barnett
Senior Project Officer                          Ph:     +61 8 82266615
Research, Analysis and Evaluation               Fax:    +61 8 82267088
Strategic Planning and Research Branch
Policy and Intergovernment Relations
Department of Health                     email:
[hidden email]

God is good but don't dance in a currach. - Irish proverb



This e-mail may contain confidential information, which also may be
legally privileged.  Only the intended  recipient(s) may access, use,
distribute or copy this e-mail.  If this e-mail is received in error,
please inform the sender by return e-mail and delete the original.  If
there are doubts about the validity of this message, please contact the
sender by telephone.  It is the recipient's responsibility to check the
e-mail and any attached files for viruses.


> -----Original Message-----
> From: SPSSX(r) Discussion [mailto:[hidden email]]
> On Behalf Of Tanya Temkin
> Sent: Wednesday, 1 November 2006 10:03
> To: [hidden email]
> Subject: SAS to SPSS transfers
>
> I regularly work in SPSS with large files created by
> programmers in SAS, which are then split into several Excel
> files (since total # of records exceeds the # of records a
> single Excel file can hold) and forwarded to me.  I then open
> and save the Excel files as separate SPSS files before
> merging these into a big SPSS file. This is cumbersome and
> time-consuming and I'm looking for tools to streamline the process.
>
> A SAS-using friend recommended Stat/Transfer.  Any experience
> out there with Stat/Transfer or any other application to
> directly transfer large data files from SAS to SPSS and vice
> versa? (I'm using SPSS 14.0 and my colleagues use SAS 8.x).
>
> Thanks,
>
> Tanya Temkin
>
> Research Associate
> AACC Reporting
> Northern California Regional Office
> The Permanente Medical Group
>
>
> NOTICE TO RECIPIENT:  If you are not the intended recipient
> of this e-mail, you are prohibited from sharing, copying, or
> otherwise using or disclosing its contents.  If you have
> received this e-mail in error, please notify the sender
> immediately by reply e-mail and permanently delete this
> e-mail and any attachments without reading, forwarding or
> saving them.  Thank you.
>