How to get spss dataset into SAS

Reply
Trusted Advisor
Posts: 1,204

How to get spss dataset into SAS

Hi All,

I am trying to import a spss dataset in sas 9.3 using following syntax

proc import datafile="H:\stats\Data2012\999193_Personal_Info_3412_IP145.sav"

  out=work.TEST dbms=sav replace;

run;

getting this error message

ERROR: DBMS type SAV not valid for import.

Is there any other way to import spss data into SAS?

Thanks for your time and consideration.

Naeem

Super Contributor
Posts: 273

Re: How to get spss dataset into SAS

dbms=spss  as it was changed from version 9.2.3 if i remember well

Naeem

did you change your code  dbms=sav into dbms=spss ?

Was it really not working?

Andre

Super User
Posts: 5,083

Re: How to get spss dataset into SAS

SAS is usually more agreeable at reading in .por files instead of .sav files (if you can control the SPSS format for saving).

Good luck.

Ask a Question
Discussion stats
  • 2 replies
  • 287 views
  • 3 likes
  • 3 in conversation