<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Convert SAS data to SPSS in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Convert-SAS-data-to-SPSS/m-p/49384#M13394</link>
    <description>Check out PROC EXPORT&lt;BR /&gt;
&lt;BR /&gt;
PROC EXPORT DATA= filename&lt;BR /&gt;
            OUTFILE= "C:\mydr\newfile.sav" &lt;BR /&gt;
            DBMS=SPSS REPLACE;&lt;BR /&gt;
&lt;BR /&gt;
Writes out a file named filename to the mydir folder on my c: drive and saves it as an SPSS file named newfile.sav&lt;BR /&gt;
&lt;BR /&gt;
You really don't need to do this, though, if you want to open a SAS dataset in SPSS. Just go to SPSS and from the FILE menu select OPEN. For type, scroll down to where it says SAS. This will import your SAS dataset into SPSS, including the labels. The SPSS syntax is&lt;BR /&gt;
&lt;BR /&gt;
GET &lt;BR /&gt;
  SAS DATA='C:\mydir\filename.sas7bdat'.&lt;BR /&gt;
&lt;BR /&gt;
AnnMaria</description>
    <pubDate>Mon, 13 Dec 2010 23:55:57 GMT</pubDate>
    <dc:creator>DrAnnmaria</dc:creator>
    <dc:date>2010-12-13T23:55:57Z</dc:date>
    <item>
      <title>Convert SAS data to SPSS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Convert-SAS-data-to-SPSS/m-p/49383#M13393</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I need to convert sas file to SPSS file. Could you please show me the syntax for this purpose? It would be more helpful if label in sas data can be converted as well.&lt;BR /&gt;
Thanks.&lt;BR /&gt;
&lt;BR /&gt;
YD</description>
      <pubDate>Mon, 13 Dec 2010 22:44:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Convert-SAS-data-to-SPSS/m-p/49383#M13393</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-12-13T22:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Convert SAS data to SPSS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Convert-SAS-data-to-SPSS/m-p/49384#M13394</link>
      <description>Check out PROC EXPORT&lt;BR /&gt;
&lt;BR /&gt;
PROC EXPORT DATA= filename&lt;BR /&gt;
            OUTFILE= "C:\mydr\newfile.sav" &lt;BR /&gt;
            DBMS=SPSS REPLACE;&lt;BR /&gt;
&lt;BR /&gt;
Writes out a file named filename to the mydir folder on my c: drive and saves it as an SPSS file named newfile.sav&lt;BR /&gt;
&lt;BR /&gt;
You really don't need to do this, though, if you want to open a SAS dataset in SPSS. Just go to SPSS and from the FILE menu select OPEN. For type, scroll down to where it says SAS. This will import your SAS dataset into SPSS, including the labels. The SPSS syntax is&lt;BR /&gt;
&lt;BR /&gt;
GET &lt;BR /&gt;
  SAS DATA='C:\mydir\filename.sas7bdat'.&lt;BR /&gt;
&lt;BR /&gt;
AnnMaria</description>
      <pubDate>Mon, 13 Dec 2010 23:55:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Convert-SAS-data-to-SPSS/m-p/49384#M13394</guid>
      <dc:creator>DrAnnmaria</dc:creator>
      <dc:date>2010-12-13T23:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Convert SAS data to SPSS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Convert-SAS-data-to-SPSS/m-p/49385#M13395</link>
      <description>I usually rely on &lt;A href="http://www.stattransfer.com/"&gt;Stat/Transfer&lt;/A&gt;. &lt;BR /&gt;
&lt;BR /&gt;
Once you convert your SAS data to a SPSS system file, try converting back to SAS data set (with a different name). And then run PROC COMPARE to see what you have preserved and what you have lost. &lt;BR /&gt;
&lt;BR /&gt;
SPSS has a single system missing value, but each variable can have multiple user-defined missing values. SAS has 28 different missing values for numeric variables and has no equivalents to SPSS's user-defined missing values.</description>
      <pubDate>Tue, 14 Dec 2010 21:50:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Convert-SAS-data-to-SPSS/m-p/49385#M13395</guid>
      <dc:creator>chang_y_chung_hotmail_com</dc:creator>
      <dc:date>2010-12-14T21:50:00Z</dc:date>
    </item>
  </channel>
</rss>

