<?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 that the table does not contain columns in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Error-message-that-the-table-does-not-contain-columns/m-p/689089#M9413</link>
    <description>&lt;P&gt;Please post the complete log of this code into a code box; note that the RUN after the LIBNAME is not necessary, LIBNAME statements are executed immediately.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Oct 2020 06:22:45 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-10-06T06:22:45Z</dc:date>
    <item>
      <title>Error message that the table does not contain columns</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-message-that-the-table-does-not-contain-columns/m-p/689087#M9412</link>
      <description>&lt;P&gt;Trying to read data into SAS Studio I keep getting an error message that the table cannot be opened because it does not contain columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I actually copied this code from the previous assignment where it worked so I don't know what I am doing wrong. Here is the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;libname hw4 "/home/u49728966/SAS Data/";&lt;BR /&gt;run;&lt;BR /&gt;data ldldat;&lt;BR /&gt;set hw4.ldldat;&lt;BR /&gt;run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I tried an infile statement (albeit probably incorrectly because we have not covered that in class) and that did not work either. Can anyone help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am a beginner, please use the simplest language possible.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 05:58:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-message-that-the-table-does-not-contain-columns/m-p/689087#M9412</guid>
      <dc:creator>ayosas</dc:creator>
      <dc:date>2020-10-06T05:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error message that the table does not contain columns</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-message-that-the-table-does-not-contain-columns/m-p/689089#M9413</link>
      <description>&lt;P&gt;Please post the complete log of this code into a code box; note that the RUN after the LIBNAME is not necessary, LIBNAME statements are executed immediately.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 06:22:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-message-that-the-table-does-not-contain-columns/m-p/689089#M9413</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-10-06T06:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error message that the table does not contain columns</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-message-that-the-table-does-not-contain-columns/m-p/689090#M9414</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 72         
 73         libname hw4 "/home/u49728966/SAS Data/";
 NOTE: Libref HW4 was successfully assigned as follows: 
       Engine:        V9 
       Physical Name: /home/u49728966/SAS Data
 74         data ldldat;
 75         run;
 
 NOTE: The data set WORK.LDLDAT has 1 observations and 0 variables.
 NOTE: DATA statement used (Total process time):
       real time           0.00 seconds
       user cpu time       0.01 seconds
       system cpu time     0.00 seconds
       memory              556.18k
       OS Memory           31908.00k
       Timestamp           10/06/2020 06:04:25 AM
       Step Count                        164  Switch Count  2
       Page Faults                       0
       Page Reclaims                     87
       Page Swaps                        0
       Voluntary Context Switches        9
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           160
       
 
 76         
 77         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 89         &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Noted about the run after libname, I realized that as well thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 06:25:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-message-that-the-table-does-not-contain-columns/m-p/689090#M9414</guid>
      <dc:creator>ayosas</dc:creator>
      <dc:date>2020-10-06T06:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error message that the table does not contain columns</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-message-that-the-table-does-not-contain-columns/m-p/689093#M9415</link>
      <description>&lt;P&gt;This is different from the code you initially posted:&lt;/P&gt;
&lt;PRE&gt; 74         data ldldat;
 75         run;
&lt;/PRE&gt;
&lt;P&gt;Since that DATA step does not contain a SET statement, it does not read anything; it will also not create any columns; but since one data step iteration (including the implicit output) is made, a dataset with no columns but one observation is created.&lt;/P&gt;
&lt;P&gt;Add the proper SET statement.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 06:30:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-message-that-the-table-does-not-contain-columns/m-p/689093#M9415</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-10-06T06:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error message that the table does not contain columns</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-message-that-the-table-does-not-contain-columns/m-p/689096#M9416</link>
      <description>&lt;P&gt;I tried it with a set statement as well. What do you mean different? There is a data set called ldldat.sas7bdat in the file SAS Data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname hw4 "/home/u49728966/SAS Data/";
data ldldat;
set hw4.ldldat;
run;&lt;/CODE&gt;&amp;nbsp;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;That didn't work. The log says&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="sasSource"&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 72         
 73         ;
 74         
 75         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 87         &lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 06:41:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-message-that-the-table-does-not-contain-columns/m-p/689096#M9416</guid>
      <dc:creator>ayosas</dc:creator>
      <dc:date>2020-10-06T06:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error message that the table does not contain columns</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-message-that-the-table-does-not-contain-columns/m-p/689101#M9417</link>
      <description>&lt;P&gt;When you hit the submit button, you had a single semicolon in your code selected, so SAS Studio sent only that to the workspace server.&lt;/P&gt;
&lt;P&gt;SAS Studio will always send the selection to the SAS session, if a part of the code is selected.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 06:58:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-message-that-the-table-does-not-contain-columns/m-p/689101#M9417</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-10-06T06:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error message that the table does not contain columns</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-message-that-the-table-does-not-contain-columns/m-p/689104#M9418</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/349418"&gt;@ayosas&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;What do you mean different?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Your code as posted in the initial question contains a SET statement, but the log you posted does not; so the log was from a different version of the code.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 07:05:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-message-that-the-table-does-not-contain-columns/m-p/689104#M9418</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-10-06T07:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error message that the table does not contain columns</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-message-that-the-table-does-not-contain-columns/m-p/689106#M9419</link>
      <description>&lt;P&gt;I see. Well now my code looks like this&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname hw4 "/home/u49728966/SAS Data/";
data ldldat;
set hw4.ldldat;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I selected all of it, pressed run and received the same error. The log says&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 72         
 73         libname hw4 "/home/u49728966/SAS Data/";
 NOTE: Libref HW4 was successfully assigned as follows: 
       Engine:        V9 
       Physical Name: /home/u49728966/SAS Data
 74         data ldldat;
 75         set hw4.ldldat;
 76         run;
 
 NOTE: There were 1 observations read from the data set HW4.LDLDAT.
 NOTE: The data set WORK.LDLDAT has 1 observations and 0 variables.
 NOTE: DATA statement used (Total process time):
       real time           0.00 seconds
       user cpu time       0.00 seconds
       system cpu time     0.00 seconds
       memory              734.78k
       OS Memory           31908.00k
       Timestamp           10/06/2020 07:08:15 AM
       Step Count                        187  Switch Count  2
       Page Faults                       0
       Page Reclaims                     76
       Page Swaps                        0
       Voluntary Context Switches        13
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           160
       
 
 77         
 78         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 90         &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 07:10:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-message-that-the-table-does-not-contain-columns/m-p/689106#M9419</guid>
      <dc:creator>ayosas</dc:creator>
      <dc:date>2020-10-06T07:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error message that the table does not contain columns</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-message-that-the-table-does-not-contain-columns/m-p/689107#M9420</link>
      <description>&lt;P&gt;This means that your original dataset in library HW4 is already empty.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 07:12:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-message-that-the-table-does-not-contain-columns/m-p/689107#M9420</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-10-06T07:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error message that the table does not contain columns</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-message-that-the-table-does-not-contain-columns/m-p/689108#M9421</link>
      <description>How do I fix that?&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Oct 2020 07:33:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-message-that-the-table-does-not-contain-columns/m-p/689108#M9421</guid>
      <dc:creator>ayosas</dc:creator>
      <dc:date>2020-10-06T07:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error message that the table does not contain columns</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-message-that-the-table-does-not-contain-columns/m-p/689109#M9422</link>
      <description>&lt;P&gt;If that dataset is the result of previous codes, rerun them. If it was imported, repeat the import process.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 07:43:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-message-that-the-table-does-not-contain-columns/m-p/689109#M9422</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-10-06T07:43:29Z</dc:date>
    </item>
  </channel>
</rss>

