<?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: importing SPSS data with password into SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/importing-SPSS-data-with-password-into-SAS/m-p/726862#M225929</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you create a&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;SPSS export file (named 'myspss.por') without password?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Then you can import it in the dataset work.temp by means of these 2 pieces of code (anyone out of the 2).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Both pieces of code use the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;SPSS interface library engine.&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename myfile 'myspss.por';
proc convert spss=myfile out=temp;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;OR&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname myfile spss 'myspss.por';
data temp;
    set myfile._first_;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;I don't have&amp;nbsp;&lt;/SPAN&gt;&lt;FONT style="font-family: inherit;"&gt;SAS/ACCESS&lt;/FONT&gt; &lt;FONT style="font-family: inherit;"&gt;Interface&lt;/FONT&gt; &lt;FONT style="font-family: inherit;"&gt;to&lt;/FONT&gt; &lt;FONT style="font-family: inherit;"&gt;PC&lt;/FONT&gt; &lt;FONT style="font-family: inherit;"&gt;Files installed locally (on my laptop-SAS) so I cannot check the proc import with&amp;nbsp;&lt;/FONT&gt;&lt;SPAN style="color: inherit; font-family: inherit; font-size: 18px;"&gt;DBMS=&lt;/SPAN&gt;&lt;SPAN class="xis-userSuppliedValue" style="color: inherit; font-family: inherit; font-size: 18px;"&gt;spss.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Koen&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Mar 2021 18:40:15 GMT</pubDate>
    <dc:creator>sbxkoenk</dc:creator>
    <dc:date>2021-03-16T18:40:15Z</dc:date>
    <item>
      <title>importing SPSS data with password into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/importing-SPSS-data-with-password-into-SAS/m-p/726851#M225924</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to import an SPSS data set into SAS but my SPSS version of the data set has a password. I assume the reason I cannot import the data successfully is that I did not add the password. I appreciate it if you help me add the password, or if you have other suggestions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc import datafile = "&amp;amp;proj_loc\SPSS_data.sav"&lt;BR /&gt;dbms = spss replace&lt;BR /&gt;out = SAS_data;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 18:11:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/importing-SPSS-data-with-password-into-SAS/m-p/726851#M225924</guid>
      <dc:creator>Emma_at_SAS</dc:creator>
      <dc:date>2021-03-16T18:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: importing SPSS data with password into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/importing-SPSS-data-with-password-into-SAS/m-p/726862#M225929</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you create a&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;SPSS export file (named 'myspss.por') without password?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Then you can import it in the dataset work.temp by means of these 2 pieces of code (anyone out of the 2).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Both pieces of code use the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;SPSS interface library engine.&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename myfile 'myspss.por';
proc convert spss=myfile out=temp;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;OR&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname myfile spss 'myspss.por';
data temp;
    set myfile._first_;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;I don't have&amp;nbsp;&lt;/SPAN&gt;&lt;FONT style="font-family: inherit;"&gt;SAS/ACCESS&lt;/FONT&gt; &lt;FONT style="font-family: inherit;"&gt;Interface&lt;/FONT&gt; &lt;FONT style="font-family: inherit;"&gt;to&lt;/FONT&gt; &lt;FONT style="font-family: inherit;"&gt;PC&lt;/FONT&gt; &lt;FONT style="font-family: inherit;"&gt;Files installed locally (on my laptop-SAS) so I cannot check the proc import with&amp;nbsp;&lt;/FONT&gt;&lt;SPAN style="color: inherit; font-family: inherit; font-size: 18px;"&gt;DBMS=&lt;/SPAN&gt;&lt;SPAN class="xis-userSuppliedValue" style="color: inherit; font-family: inherit; font-size: 18px;"&gt;spss.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Koen&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 18:40:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/importing-SPSS-data-with-password-into-SAS/m-p/726862#M225929</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-03-16T18:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: importing SPSS data with password into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/importing-SPSS-data-with-password-into-SAS/m-p/726904#M225955</link>
      <description>Thank you, Koen.&lt;BR /&gt;How do I replace the ''myspss.por''? I tried this --&amp;gt;    path_to_the_data_file\SPSS_data_name.sav &lt;BR /&gt;but did not work.&lt;BR /&gt;Also, what does this part do --&amp;gt;   set myfile._first_; &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Mary</description>
      <pubDate>Tue, 16 Mar 2021 20:48:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/importing-SPSS-data-with-password-into-SAS/m-p/726904#M225955</guid>
      <dc:creator>Emma_at_SAS</dc:creator>
      <dc:date>2021-03-16T20:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: importing SPSS data with password into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/importing-SPSS-data-with-password-into-SAS/m-p/727066#M226061</link>
      <description>&lt;P&gt;The .por file is to be made in SPSS. It's an &lt;SPAN style="font-family: inherit;"&gt;SPSS export file format.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;The PROC CONVERT doesn't accept .sav files, it needs to be a file in the SPSS export file format.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;When having this .por file, you can indeed put the full path in between quotes:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;filename myfile 'C:\...\myfolder\myspss.por';&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Koen&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 11:42:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/importing-SPSS-data-with-password-into-SAS/m-p/727066#M226061</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-03-17T11:42:51Z</dc:date>
    </item>
  </channel>
</rss>

