<?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 cannot open data imported from SPSS in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/cannot-open-data-imported-from-SPSS/m-p/51079#M13964</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have experience about importing SPSS file.&lt;/P&gt;&lt;P&gt;But do you try to use wizard of import .&amp;nbsp; File -&amp;gt; Import Data-&amp;gt; .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Aug 2011 08:03:38 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2011-08-19T08:03:38Z</dc:date>
    <item>
      <title>cannot open data imported from SPSS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/cannot-open-data-imported-from-SPSS/m-p/51078#M13963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LIBNAME library 'c:\MySASLib';&lt;/P&gt;&lt;P&gt;PROC IMPORT DATAFILE = 'c:\MySPSSDir\survey.sav'&lt;/P&gt;&lt;P&gt;OUT = library.sassurvey&lt;/P&gt;&lt;P&gt;DBMS = SAV&lt;/P&gt;&lt;P&gt;REPLACE;&lt;/P&gt;&lt;P&gt;FMTLIB = library.formats;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am experiencing SAS 9.3 at the moment.&amp;nbsp; This is the example I used to import SPSS (.sav) file to SAS. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when I did this way, the error message appears that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" ERROR: Unable to open the table library.sassurvey. library.sassurvey cannot be opened. &lt;/P&gt;&lt;P&gt;&amp;nbsp; Do you want to select a different table to open ?"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error in the log is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"ERROR: Format Q9_ not found or couldn't be loaded for variable Q9_."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This happened only when I specified the formats in "FMTLIB", which put SPSS formatted value in the personal library. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However without "FMTLIB", the formats would be put in "work" directory, and then I can open the data in the personal library. It seems weird. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create formats in different library, because there are several SPSS files I have to import. If the formats file in the same "work" directory, when a new SPSS file imported, its format will overwrite the existing one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know about this, and How can I fix this problem? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2011 00:51:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/cannot-open-data-imported-from-SPSS/m-p/51078#M13963</guid>
      <dc:creator>Fred_Gavin</dc:creator>
      <dc:date>2011-08-19T00:51:18Z</dc:date>
    </item>
    <item>
      <title>cannot open data imported from SPSS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/cannot-open-data-imported-from-SPSS/m-p/51079#M13964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have experience about importing SPSS file.&lt;/P&gt;&lt;P&gt;But do you try to use wizard of import .&amp;nbsp; File -&amp;gt; Import Data-&amp;gt; .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2011 08:03:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/cannot-open-data-imported-from-SPSS/m-p/51079#M13964</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-08-19T08:03:38Z</dc:date>
    </item>
  </channel>
</rss>

