<?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 unable to open any dataset in SAS Studio in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/unable-to-open-any-dataset-in-SAS-Studio/m-p/889135#M351269</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have couple of datasets and they are appearing in SAS Studio library "A". But they are not opening.&lt;/P&gt;&lt;P&gt;While opening I am getting error message.&lt;/P&gt;&lt;P&gt;ERROR: Tables with 0 columns are not supported bu this object.&lt;/P&gt;&lt;P&gt;My code is:&lt;/P&gt;&lt;P&gt;libname a 'path\SDTM datasets';&lt;/P&gt;&lt;P&gt;options nofmterr;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data test;&lt;BR /&gt;set a.ae(encoding=ascii);&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Aug 2023 04:41:16 GMT</pubDate>
    <dc:creator>Ajayvit</dc:creator>
    <dc:date>2023-08-14T04:41:16Z</dc:date>
    <item>
      <title>unable to open any dataset in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Programming/unable-to-open-any-dataset-in-SAS-Studio/m-p/889135#M351269</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have couple of datasets and they are appearing in SAS Studio library "A". But they are not opening.&lt;/P&gt;&lt;P&gt;While opening I am getting error message.&lt;/P&gt;&lt;P&gt;ERROR: Tables with 0 columns are not supported bu this object.&lt;/P&gt;&lt;P&gt;My code is:&lt;/P&gt;&lt;P&gt;libname a 'path\SDTM datasets';&lt;/P&gt;&lt;P&gt;options nofmterr;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data test;&lt;BR /&gt;set a.ae(encoding=ascii);&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 04:41:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/unable-to-open-any-dataset-in-SAS-Studio/m-p/889135#M351269</guid>
      <dc:creator>Ajayvit</dc:creator>
      <dc:date>2023-08-14T04:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: unable to open any dataset in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Programming/unable-to-open-any-dataset-in-SAS-Studio/m-p/889137#M351271</link>
      <description>&lt;P&gt;Let's try a simper test.&lt;/P&gt;
&lt;P&gt;Run this code:&lt;/P&gt;
&lt;PRE&gt;data test1;
   a=1;
run;&lt;/PRE&gt;
&lt;P&gt;You should get a log that looks like this (line numbers will vary)&lt;/P&gt;
&lt;PRE&gt;153  data test1;
154     a=1;
155  run;

NOTE: The data set WORK.TEST1 has 1 observations and 1 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
&lt;/PRE&gt;
&lt;P&gt;Now try this:&lt;/P&gt;
&lt;PRE&gt;data test2;
   set test1;
run;&lt;/PRE&gt;
&lt;P&gt;If that runs okay then the system is working and will access a properly formed data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I would go back to your source for those data sets. They may be corrupted or not actually SAS data sets at all. The message you are seeing about "0 columns" means that when SAS is attempting to use the data set it reads header information about the contents of the data set such as the names and types of variables. 0 columns means that no variables are found. I downloaded all 4 of those files and none of them show having any variables or observations (rows)in them.&amp;nbsp; The file size in my Windows setting of 5K is just about the minimum for a text file with only one character in it. Interesting is that they also all show a creation/modified date of 14Aug 2008.&lt;/P&gt;
&lt;P&gt;I strongly suggest going back to what ever source of these files and examine things like the file size as they appear to have been corrupted/empty for a very long time.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 05:14:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/unable-to-open-any-dataset-in-SAS-Studio/m-p/889137#M351271</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-08-14T05:14:31Z</dc:date>
    </item>
  </channel>
</rss>

