<?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: Problems when importing a file into SAS in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Problems-when-importing-a-file-into-SAS/m-p/113838#M31508</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;csv file da.ta path is required&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Oct 2013 10:48:03 GMT</pubDate>
    <dc:creator>Mit</dc:creator>
    <dc:date>2013-10-16T10:48:03Z</dc:date>
    <item>
      <title>Problems when importing a file into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problems-when-importing-a-file-into-SAS/m-p/113837#M31507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm fairly new to working with SAS and I'm struggeling with the following problem:&lt;/P&gt;&lt;P&gt;I'm trying to import a file (originally SPSS-format) into SAS. I've already tried saving it as a excel-file (extension.xls), a SAS-database file (extension sas.7bdat) or a comma delimited file (extension .csv). SAS does import the file but states that the dataset contains only 1 observation and 0 variables. However, when I look at my data with the proc print-command there are over 50000 oberservations. I do see that all my variabels are stated in one collumn and their values are separated with ';'. This problem occurs with each of the data-formats and I have no idea on what the solution could be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be clear this is the syntax I use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="background: white; color: navy; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;proc&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;SPAN lang="EN-US" style="background: white; color: navy; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;import&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;SPAN lang="EN-US" style="background: white; color: blue; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;OUT&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;=WORK.&lt;EM&gt;filename&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="background: white; color: blue; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;datafile&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background: white; color: purple; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;"file_location_and_name&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background: white; color: purple; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;.csv"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="background: white; color: blue; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;dbms&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;=csv&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="background: white; color: black; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;&amp;nbsp; replace;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="background: white; color: blue; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;getnames&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;=yes;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;STRONG&gt;&lt;SPAN lang="EN-US" style="background: white; color: navy; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;run&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Thanks, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="background: white; color: black; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Lise&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 08:00:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problems-when-importing-a-file-into-SAS/m-p/113837#M31507</guid>
      <dc:creator>lghansse</dc:creator>
      <dc:date>2013-10-16T08:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problems when importing a file into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problems-when-importing-a-file-into-SAS/m-p/113838#M31508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;csv file da.ta path is required&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 10:48:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problems-when-importing-a-file-into-SAS/m-p/113838#M31508</guid>
      <dc:creator>Mit</dc:creator>
      <dc:date>2013-10-16T10:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problems when importing a file into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problems-when-importing-a-file-into-SAS/m-p/113839#M31509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you explain this?&lt;/P&gt;&lt;P&gt;If you mean that I should add a 'delimiter'-statement, I already tried that and it didn't make any difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 11:32:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problems-when-importing-a-file-into-SAS/m-p/113839#M31509</guid>
      <dc:creator>lghansse</dc:creator>
      <dc:date>2013-10-16T11:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problems when importing a file into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problems-when-importing-a-file-into-SAS/m-p/113840#M31510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; background-color: white; color: purple;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; background-color: white; color: purple;"&gt;You should mention the path of this file ie. where this file is located. suppose your file is located at "&lt;SPAN style="color: #800080; font-family: 'Courier New'; background-color: #ffffff;"&gt;C:\My Documents"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; background-color: white; color: purple;"&gt;dbms is your delimiter type.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; background-color: white; color: purple;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: navy;"&gt;proc&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: navy;"&gt;import&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;datafile&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: purple;"&gt;"C:\My Documents\file_location_and_name&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: purple;"&gt;.csv"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-style: inherit; font-family: 'Courier New'; color: blue;"&gt;OUT&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-style: inherit; font-family: 'Courier New'; color: black;"&gt;=WORK.&lt;EM style="font-family: inherit;"&gt;filename&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;dbms&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;=csv&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp; replace;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;getnames&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;=yes;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp; &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: navy;"&gt;run&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 12:14:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problems-when-importing-a-file-into-SAS/m-p/113840#M31510</guid>
      <dc:creator>Mit</dc:creator>
      <dc:date>2013-10-16T12:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problems when importing a file into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problems-when-importing-a-file-into-SAS/m-p/113841#M31511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did that. It's just not specified id syntax I typed above (I just put file_location_and_name) but I did it correctly in SAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="background: white; color: purple; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 12:22:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problems-when-importing-a-file-into-SAS/m-p/113841#M31511</guid>
      <dc:creator>lghansse</dc:creator>
      <dc:date>2013-10-16T12:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problems when importing a file into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problems-when-importing-a-file-into-SAS/m-p/113842#M31512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: navy;"&gt;Suppose your file name is mydata then the following code should work.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: navy;"&gt;Please ref to&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: navy;"&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a000314361.htm" title="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a000314361.htm"&gt;Base SAS(R) 9.2 Procedures Guide&lt;/A&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: navy;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: navy;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: navy;"&gt;proc&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: navy;"&gt;import&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;datafile&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: purple;"&gt;"C:\My Documents\mydata&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: purple;"&gt;.csv"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;OUT&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;=WORK.&lt;EM style="font-family: inherit;"&gt;filename&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;dbms&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;=csv&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp; replace;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: blue;"&gt;getnames&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;=yes;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp; &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: navy;"&gt;run&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 12:55:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problems-when-importing-a-file-into-SAS/m-p/113842#M31512</guid>
      <dc:creator>Mit</dc:creator>
      <dc:date>2013-10-16T12:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problems when importing a file into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problems-when-importing-a-file-into-SAS/m-p/113843#M31513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;... which is the same syntax as I suggested.&lt;/P&gt;&lt;P&gt;Namely:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: inherit; font-style: inherit;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="color: navy; font-family: 'Courier New'; font-size: 10pt; font-style: inherit; font-weight: inherit;"&gt;proc&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="font-family: inherit; font-style: inherit;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="color: navy; font-family: 'Courier New'; font-size: 10pt; font-style: inherit; font-weight: inherit;"&gt;import&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN lang="EN-US" style="color: blue; font-family: 'Courier New'; font-size: 10pt; font-style: inherit;"&gt;datafile&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Courier New'; font-size: 10pt; font-style: inherit;"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: purple; font-family: 'Courier New'; font-size: 10pt; font-style: inherit;"&gt;"S\QUALICOPC\DATABANKEN\werkdatabanken\ecometrics\voorbereiding datasets schalen\organisatorische access.csv"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN lang="EN-US" style="color: purple; font-family: 'Courier New'; font-size: 10pt; font-style: inherit;"&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: blue; font-family: 'Courier New'; font-size: 10pt; font-style: inherit;"&gt;OUT&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Courier New'; font-size: 10pt; font-style: inherit;"&gt;=WORK.&lt;SPAN style="font-family: inherit;"&gt;&lt;EM&gt;org_access&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="color: blue; font-family: 'Courier New'; font-size: 10pt; font-style: inherit;"&gt;dbms&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Courier New'; font-size: 10pt; font-style: inherit;"&gt;=csv&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="color: black; font-family: 'Courier New'; font-size: 10pt; font-style: inherit;"&gt;&amp;nbsp; replace;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="color: blue; font-family: 'Courier New'; font-size: 10pt; font-style: inherit;"&gt;getnames&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Courier New'; font-size: 10pt; font-style: inherit;"&gt;=yes;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp; &lt;SPAN style="font-family: inherit; font-style: inherit;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="color: navy; font-family: 'Courier New'; font-size: 10pt; font-style: inherit; font-weight: inherit;"&gt;run&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Courier New'; font-size: 10pt; font-style: inherit;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I tried yours and it still gives the same problem.SAS still says there is only one variable in the dataset, while the table shows the values of all my variables (about 9) but seperated by a ';'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 13:12:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problems-when-importing-a-file-into-SAS/m-p/113843#M31513</guid>
      <dc:creator>lghansse</dc:creator>
      <dc:date>2013-10-16T13:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problems when importing a file into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problems-when-importing-a-file-into-SAS/m-p/113844#M31514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds to me like it's not comma separated, but semicolon separated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc import file=whatever out=whatever dbms=dlm dlm=';' replace;&lt;/P&gt;&lt;P&gt;getnames=yes;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;(using same options as your code, just dbms=dlm and dlm=';' )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, do you have ACCESS to PC FILES licensed?&amp;nbsp; PROC IMPORT can read in an SPSS file.&amp;nbsp; (proc import file="whatever.sav" out=whatever dbms=SPSS replace; run;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 14:20:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problems-when-importing-a-file-into-SAS/m-p/113844#M31514</guid>
      <dc:creator>snoopy369</dc:creator>
      <dc:date>2013-10-16T14:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problems when importing a file into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problems-when-importing-a-file-into-SAS/m-p/113845#M31515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Snoopy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you! First option didn't work, but when I directly imported an SPSS file it did (didn't know that was possible, so thanks a lot). . &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 15:09:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problems-when-importing-a-file-into-SAS/m-p/113845#M31515</guid>
      <dc:creator>lghansse</dc:creator>
      <dc:date>2013-10-16T15:09:00Z</dc:date>
    </item>
  </channel>
</rss>

