<?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: Excel file uploaded cannot be open beacause it contains no column in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Excel-file-uploaded-cannot-be-open-beacause-it-contains-no/m-p/581171#M13647</link>
    <description>&lt;P&gt;Attach the excel file please. Your file likely has issues.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please post your code and log directly to the forum, pictures are hard to read and more work for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/284418"&gt;@Aduragbemi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="f8206598583518973298d172f0caa3b.jpg" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31718i12717812438D633B/image-size/large?v=v2&amp;amp;px=999" role="button" title="f8206598583518973298d172f0caa3b.jpg" alt="f8206598583518973298d172f0caa3b.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First i uploaded the file to the sasuser v.94 and then i used the following code above to import it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Aug 2019 15:04:21 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-08-14T15:04:21Z</dc:date>
    <item>
      <title>Excel file uploaded cannot be open beacause it contains no column</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Excel-file-uploaded-cannot-be-open-beacause-it-contains-no/m-p/581038#M13625</link>
      <description>&lt;P&gt;After uploading and importing my excel file, SAS says it contains no column. what does this mean and how can i rectify this. I have searched for possible solution but to no avail. It quite getting frustrating as i cant find a way to resolve this and am just starting to learn SAS&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ff6227d64d00d27631910a470a09ad5.jpg" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31716i0281144F16305F12/image-size/large?v=v2&amp;amp;px=999" role="button" title="ff6227d64d00d27631910a470a09ad5.jpg" alt="ff6227d64d00d27631910a470a09ad5.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 09:55:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Excel-file-uploaded-cannot-be-open-beacause-it-contains-no/m-p/581038#M13625</guid>
      <dc:creator>Aduragbemi</dc:creator>
      <dc:date>2019-08-14T09:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Excel file uploaded cannot be open beacause it contains no column</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Excel-file-uploaded-cannot-be-open-beacause-it-contains-no/m-p/581040#M13626</link>
      <description>&lt;P&gt;How did you import the Excel file?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 10:14:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Excel-file-uploaded-cannot-be-open-beacause-it-contains-no/m-p/581040#M13626</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-08-14T10:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Excel file uploaded cannot be open beacause it contains no column</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Excel-file-uploaded-cannot-be-open-beacause-it-contains-no/m-p/581041#M13627</link>
      <description>&lt;P&gt;I used snippet procedure and then inputted the file location&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 10:25:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Excel-file-uploaded-cannot-be-open-beacause-it-contains-no/m-p/581041#M13627</guid>
      <dc:creator>Aduragbemi</dc:creator>
      <dc:date>2019-08-14T10:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Excel file uploaded cannot be open beacause it contains no column</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Excel-file-uploaded-cannot-be-open-beacause-it-contains-no/m-p/581048#M13629</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="f8206598583518973298d172f0caa3b.jpg" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31718i12717812438D633B/image-size/large?v=v2&amp;amp;px=999" role="button" title="f8206598583518973298d172f0caa3b.jpg" alt="f8206598583518973298d172f0caa3b.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First i uploaded the file to the sasuser v.94 and then i used the following code above to import it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 10:39:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Excel-file-uploaded-cannot-be-open-beacause-it-contains-no/m-p/581048#M13629</guid>
      <dc:creator>Aduragbemi</dc:creator>
      <dc:date>2019-08-14T10:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Excel file uploaded cannot be open beacause it contains no column</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Excel-file-uploaded-cannot-be-open-beacause-it-contains-no/m-p/581171#M13647</link>
      <description>&lt;P&gt;Attach the excel file please. Your file likely has issues.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please post your code and log directly to the forum, pictures are hard to read and more work for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/284418"&gt;@Aduragbemi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="f8206598583518973298d172f0caa3b.jpg" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31718i12717812438D633B/image-size/large?v=v2&amp;amp;px=999" role="button" title="f8206598583518973298d172f0caa3b.jpg" alt="f8206598583518973298d172f0caa3b.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First i uploaded the file to the sasuser v.94 and then i used the following code above to import it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 15:04:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Excel-file-uploaded-cannot-be-open-beacause-it-contains-no/m-p/581171#M13647</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-08-14T15:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Excel file uploaded cannot be open beacause it contains no column</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Excel-file-uploaded-cannot-be-open-beacause-it-contains-no/m-p/581355#M13664</link>
      <description>&lt;P&gt;The excel file is uploaded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This was the code i used to to import the excel file&lt;/P&gt;&lt;PRE&gt;PROC IMPORT DATAFILE="/folders/myfolders/sasuser.v94/wheat.xlsx/"&lt;BR /&gt;		    OUT=WORK.Data&lt;BR /&gt;		    DBMS=XLSX&lt;BR /&gt;		    REPLACE;&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;BR /&gt;/** Print the results. **/&lt;BR /&gt;&lt;BR /&gt;PROC PRINT DATA=WORK.data; RUN;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;After importing the excel file then i created a library called tutor with this code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;libname tutor "/folders/myfolders/";&lt;/PRE&gt;&lt;P&gt;After that i wanted to save the excel file i named data into the library with this code and after running it it brought out a message saying: "&lt;SPAN&gt;The table "TUTOR.DATA" cannot be opened because it does not contain any columns."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;libname tutor "/folders/myfolders/";&lt;BR /&gt;data tutor.data;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 15 Aug 2019 08:26:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Excel-file-uploaded-cannot-be-open-beacause-it-contains-no/m-p/581355#M13664</guid>
      <dc:creator>Aduragbemi</dc:creator>
      <dc:date>2019-08-15T08:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: Excel file uploaded cannot be open beacause it contains no column</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Excel-file-uploaded-cannot-be-open-beacause-it-contains-no/m-p/581413#M13676</link>
      <description>&lt;P&gt;You have code to create WORK.TUTOR from your XLSX file.&amp;nbsp; (What's with the slash after the end of the filename in the PROC IMPORT code?&amp;nbsp; Didn't that cause an error? An XLSX file is not a directory.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But you don't have any code to create TUTOR.DATA, other than the last line of code which looks like it is starting to generate a data step to make that dataset, but you are missing the rest of the data step.&amp;nbsp; If you wanted to run a data step the read from WORK.TUTOR and wrote to TUTOR.DATA you would need to also add at least a SET statement and a RUN statement.&amp;nbsp; Note if you just use a single level name SAS will assume you mean the use the WORK library.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data tutor.data;
  set tutor;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2019 13:50:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Excel-file-uploaded-cannot-be-open-beacause-it-contains-no/m-p/581413#M13676</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-08-15T13:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Excel file uploaded cannot be open beacause it contains no column</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Excel-file-uploaded-cannot-be-open-beacause-it-contains-no/m-p/581915#M13766</link>
      <description>thanks so much. the issue has been resolved</description>
      <pubDate>Sat, 17 Aug 2019 11:07:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Excel-file-uploaded-cannot-be-open-beacause-it-contains-no/m-p/581915#M13766</guid>
      <dc:creator>Aduragbemi</dc:creator>
      <dc:date>2019-08-17T11:07:06Z</dc:date>
    </item>
  </channel>
</rss>

