<?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: Error Message - Does not contain any columns in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Error-Message-Does-not-contain-any-columns/m-p/396223#M66516</link>
    <description>&lt;P&gt;Thanks guys, I'm going to work on the show.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Sep 2017 09:29:58 GMT</pubDate>
    <dc:creator>AdlerCarvalho</dc:creator>
    <dc:date>2017-09-15T09:29:58Z</dc:date>
    <item>
      <title>Error Message - Does not contain any columns</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-Message-Does-not-contain-any-columns/m-p/394913#M66434</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;This message has appeared:&lt;/P&gt;
&lt;P&gt;"The table" WORK.CONSUMODENDE "can not be opened because it does not contain any columns."&lt;/P&gt;
&lt;P&gt;How to solve?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 21:27:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-Message-Does-not-contain-any-columns/m-p/394913#M66434</guid>
      <dc:creator>AdlerCarvalho</dc:creator>
      <dc:date>2017-09-11T21:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message - Does not contain any columns</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-Message-Does-not-contain-any-columns/m-p/394920#M66435</link>
      <description>&lt;P&gt;What kind of solution do you expect? There is nothing there. Likely there was an error when the data set was made.&lt;/P&gt;
&lt;P&gt;You might check the log after the step that creates the data is run for any errors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 21:50:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-Message-Does-not-contain-any-columns/m-p/394920#M66435</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-09-11T21:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message - Does not contain any columns</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-Message-Does-not-contain-any-columns/m-p/394963#M66436</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;So, I need to perform the proc mixed test, using data imported from excel. The data table is correct, but when performing the analysis in sas, the mentioned error appears.&lt;/P&gt;&lt;P&gt;The log is described below....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; 
 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 61         
 62         
 63         PROC IMPORT DATAFILE="/folders/myshortcuts/pasta_sas_university/CONSUMODENDE.XLSX"
 64             OUT=WORK.MYEXCEL
 65             DBMS=XLSX
 66             REPLACE;
 NOTE: The previous statement has been deleted.
 67             GETNAMES=YES
 68         RUN;
            ___
            22
            202
 ERROR 22-322: Expecting ;.  
 
 ERROR 202-322: The option or parameter is not recognized and will be ignored.
 
 69         
 70         /** Print the results. **/
 71         
 
 NOTE: The import data set has 128 observations and 14 variables.
 NOTE: WORK.MYEXCEL data set was successfully created.
 NOTE: PROCEDURE IMPORT used (Total process time):
       real time           0.04 seconds
       cpu time            0.04 seconds
       
 72         PROC PRINT DATA=WORK.MYEXCEL; RUn;
 
 
 NOTE: There were 128 observations read from the data set WORK.MYEXCEL.
 NOTE: PROCEDURE PRINT used (Total process time):
       real time           0.62 seconds
       cpu time            0.63 seconds
       
 
 73         
 NOTE: PROCEDURE MIXED used (Total process time):
       real time           0.00 seconds
       cpu time            0.00 seconds
       
 ERROR: Variable MOg in list does not match type prescribed for this list.
 NOTE: The SAS System stopped processing this step because of errors.
 74         PROC MIXED DATA=WORK.MYEXCEL;
 75         CLASS Per Trat Anim;
 76         MODEL MOg = trat;
 77         RUN;
 78         
 79         
 80         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 93         &lt;/CODE&gt;&lt;/PRE&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 12 Sep 2017 01:21:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-Message-Does-not-contain-any-columns/m-p/394963#M66436</guid>
      <dc:creator>AdlerCarvalho</dc:creator>
      <dc:date>2017-09-12T01:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message - Does not contain any columns</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-Message-Does-not-contain-any-columns/m-p/394970#M66437</link>
      <description>&lt;P&gt;You told PROC MIXED that MOG was a numeric variable, but in your XLSX file it is a character string.&lt;/P&gt;
&lt;P&gt;Either fix your XLSX file and re-import the data.&lt;/P&gt;
&lt;P&gt;Or better still take the data out of Excel and paste it as text into your program or an external text file. &amp;nbsp;Then you can write a data step to read the data. If you use&amp;nbsp;PROC IMPORT it will have to guess what variables you have and whether they are numeric or character.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 02:27:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-Message-Does-not-contain-any-columns/m-p/394970#M66437</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-09-12T02:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message - Does not contain any columns</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-Message-Does-not-contain-any-columns/m-p/395133#M66455</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/164278"&gt;@AdlerCarvalho&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;The data table is correct, but when performing the analysis in sas, the mentioned error appears.&lt;/P&gt;
&lt;P&gt;The log is described below....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; 
 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 61         
 62         
 63         PROC IMPORT DATAFILE="/folders/myshortcuts/pasta_sas_university/CONSUMODENDE.XLSX"
 64             OUT=WORK.MYEXCEL
 65             DBMS=XLSX
 66             REPLACE;
 NOTE: The previous statement has been deleted.
 67             GETNAMES=YES
 68         RUN;
            ___
            22
            202
 ERROR 22-322: Expecting ;.  
 
 ERROR 202-322: The option or parameter is not recognized and will be ignored.
 &lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Note the word &lt;FONT size="3" color="#FF0000"&gt;&lt;STRONG&gt;ERROR&lt;/STRONG&gt;&lt;/FONT&gt; in your log, which is likely &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;RED&lt;/STRONG&gt;&lt;/FONT&gt; as well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It means that the import didn't work, so fix the error first. You currently have no data to work with because the import didn't work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 15:09:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-Message-Does-not-contain-any-columns/m-p/395133#M66455</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-12T15:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message - Does not contain any columns</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-Message-Does-not-contain-any-columns/m-p/395367#M66462</link>
      <description>&lt;P&gt;Bro just a friendly reminder. &amp;nbsp;Make it a habit to check the log (for errors) from top to bottom. &amp;nbsp;The first error may be the reason why the succeeding steps failed. &amp;nbsp;Fix the first error (that you have encountered) then rerun your code. &amp;nbsp;Then repeat until you have not seen any error in the log. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, an error-free log does not mean you got the output data correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 03:13:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-Message-Does-not-contain-any-columns/m-p/395367#M66462</guid>
      <dc:creator>ShiroAmada</dc:creator>
      <dc:date>2017-09-13T03:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message - Does not contain any columns</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-Message-Does-not-contain-any-columns/m-p/396223#M66516</link>
      <description>&lt;P&gt;Thanks guys, I'm going to work on the show.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2017 09:29:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-Message-Does-not-contain-any-columns/m-p/396223#M66516</guid>
      <dc:creator>AdlerCarvalho</dc:creator>
      <dc:date>2017-09-15T09:29:58Z</dc:date>
    </item>
  </channel>
</rss>

