<?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: SPSS program to SAS program conversion in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SPSS-program-to-SAS-program-conversion/m-p/40989#M4891</link>
    <description>Actually ESS (EMACS Speaks Statistics) won't really convert SPSS code into SAS code.  However, if you read in an SPSS code file in SAS mode, it will hilight the places that are likely to be in error in the SAS syntax.  That will go a long way toward conversion.  [It won't catch all the errors, but it will provide a good start.]</description>
    <pubDate>Tue, 24 Nov 2009 16:49:14 GMT</pubDate>
    <dc:creator>Doc_Duke</dc:creator>
    <dc:date>2009-11-24T16:49:14Z</dc:date>
    <item>
      <title>SPSS program to SAS program conversion</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SPSS-program-to-SAS-program-conversion/m-p/40984#M4886</link>
      <description>Does anyone have any insight about conversion of an SPSS program ".sps" to sas program  ".sas". is-it feasible? I heard that there is a sas macro to do that...???????&lt;BR /&gt;
&lt;BR /&gt;
the program is like that:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
TITLE  "A very simple program".&lt;BR /&gt;
    set width 80.&lt;BR /&gt;
    file handle in /name="/p/us/sue/zspssx/famous.dat".&lt;BR /&gt;
    DATA LIST FILE=in /&lt;BR /&gt;
         idnum    1-3 (N) &lt;BR /&gt;
         fname    4-15 (A) &lt;BR /&gt;
         lname   16-27 (A)&lt;BR /&gt;
         age     28-29 &lt;BR /&gt;
         sex     30 &lt;BR /&gt;
         byear   31-34 &lt;BR /&gt;
         dyear   35-38 &lt;BR /&gt;
         status  39.&lt;BR /&gt;
    VAR LABELS&lt;BR /&gt;
         idnum   "Case Number"&lt;BR /&gt;
         fname   "First Name"&lt;BR /&gt;
         lname   "Last Name"&lt;BR /&gt;
         age     "Age at Death"&lt;BR /&gt;
         sex     "Sex"&lt;BR /&gt;
         byear   "Year of Birth"&lt;BR /&gt;
         dyear   "Year of Death"&lt;BR /&gt;
         status  "Status".&lt;BR /&gt;
    VALUE LABELS&lt;BR /&gt;
         sex&lt;BR /&gt;
             1 "Male"&lt;BR /&gt;
             2 "Female" /&lt;BR /&gt;
         status&lt;BR /&gt;
             1 "Real"&lt;BR /&gt;
             2 "Fictional"&lt;BR /&gt;
             3 "Possibly Real".&lt;BR /&gt;
    missing values&lt;BR /&gt;
         status (3).&lt;BR /&gt;
    select if (sex eq 2).&lt;BR /&gt;
    freq vars=status.&lt;BR /&gt;
    save outfile="famous_females.sav".&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thank you very match,</description>
      <pubDate>Thu, 21 Aug 2008 18:31:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SPSS-program-to-SAS-program-conversion/m-p/40984#M4886</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-08-21T18:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: SPSS program to SAS program conversion</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SPSS-program-to-SAS-program-conversion/m-p/40985#M4887</link>
      <description>Lyn,&lt;BR /&gt;
&lt;BR /&gt;
There are tools for data conversion, but I am unaware of tools for code conversion.  StatTransfer and DBMSCopy come to mind for data conversion.  Also SAS 9.2 will, I believe, read SPSS datasets.&lt;BR /&gt;
&lt;BR /&gt;
For code conversion, it's pretty straightforward.  This is mostly the equivalent of a DATA step.  One thing to note is that SPSS stores the value labels in with the data and SAS stores them separately, so they will need to be pulled out into a PROC FORMAT and then linked when needed.&lt;BR /&gt;
&lt;BR /&gt;
Doc Muhlbaier&lt;BR /&gt;
Duke</description>
      <pubDate>Mon, 25 Aug 2008 19:10:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SPSS-program-to-SAS-program-conversion/m-p/40985#M4887</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2008-08-25T19:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: SPSS program to SAS program conversion</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SPSS-program-to-SAS-program-conversion/m-p/40986#M4888</link>
      <description>Thank you very much Doc. for confirming me this information! Because, I did some research before writing this message and I found a package SPSS2SAS for data conversion but there is no thing about code conversion.&lt;BR /&gt;
&lt;BR /&gt;
Best wishes,&lt;BR /&gt;
&lt;BR /&gt;
LynE</description>
      <pubDate>Wed, 27 Aug 2008 13:51:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SPSS-program-to-SAS-program-conversion/m-p/40986#M4888</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-08-27T13:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: SPSS program to SAS program conversion</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SPSS-program-to-SAS-program-conversion/m-p/40987#M4889</link>
      <description>hello all&lt;BR /&gt;
&lt;BR /&gt;
has there been an update regarding conversion of SPSS codes to SAS codes? Is that possible?&lt;BR /&gt;
I am considering purchasing SAS given that SPSS code conversion to SAS is possible.&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;
Pablo</description>
      <pubDate>Tue, 24 Nov 2009 09:23:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SPSS-program-to-SAS-program-conversion/m-p/40987#M4889</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-11-24T09:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: SPSS program to SAS program conversion</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SPSS-program-to-SAS-program-conversion/m-p/40988#M4890</link>
      <description>I found a reference to a program called ESS which seems to do something like this (search for ESS in the pdf):&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi29/142-29.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi29/142-29.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
The paper referenced is here:&lt;BR /&gt;
&lt;A href="http://www.bepress.com/cgi/viewcontent.cgi?article=1002&amp;amp;context=uwbiostat" target="_blank"&gt;http://www.bepress.com/cgi/viewcontent.cgi?article=1002&amp;amp;context=uwbiostat&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
I didn't have time for a read of what the conversion involves, so apologies if it isn't on track for what you want.&lt;BR /&gt;
&lt;BR /&gt;
Another resource that could be really valuable is the following, from the authors of the Little SAS Book. This is a paper about coming to SAS from SPSS:&lt;BR /&gt;
&lt;A href="http://support.sas.com/publishing/bbu/companion_site/62272.pdf" target="_blank"&gt;http://support.sas.com/publishing/bbu/companion_site/62272.pdf&lt;/A&gt;</description>
      <pubDate>Tue, 24 Nov 2009 15:21:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SPSS-program-to-SAS-program-conversion/m-p/40988#M4890</guid>
      <dc:creator>RichardH_sas</dc:creator>
      <dc:date>2009-11-24T15:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: SPSS program to SAS program conversion</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SPSS-program-to-SAS-program-conversion/m-p/40989#M4891</link>
      <description>Actually ESS (EMACS Speaks Statistics) won't really convert SPSS code into SAS code.  However, if you read in an SPSS code file in SAS mode, it will hilight the places that are likely to be in error in the SAS syntax.  That will go a long way toward conversion.  [It won't catch all the errors, but it will provide a good start.]</description>
      <pubDate>Tue, 24 Nov 2009 16:49:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SPSS-program-to-SAS-program-conversion/m-p/40989#M4891</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2009-11-24T16:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: SPSS program to SAS program conversion</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SPSS-program-to-SAS-program-conversion/m-p/40990#M4892</link>
      <description>Realistically, given the sample code you shared, I cannot say that I would want an automatic SPSS-to-SAS code conversion, given the differences in the language.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Tue, 24 Nov 2009 17:05:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SPSS-program-to-SAS-program-conversion/m-p/40990#M4892</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-11-24T17:05:53Z</dc:date>
    </item>
  </channel>
</rss>

