<?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: SAS DataSet in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Unable-to-open-SAS-DataSet/m-p/962507#M375132</link>
    <description>&lt;P&gt;Have you checked, whether you have a library "TMP1" assigned?&lt;/P&gt;</description>
    <pubDate>Mon, 24 Mar 2025 13:52:02 GMT</pubDate>
    <dc:creator>FK21</dc:creator>
    <dc:date>2025-03-24T13:52:02Z</dc:date>
    <item>
      <title>Unable to open SAS DataSet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unable-to-open-SAS-DataSet/m-p/962504#M375131</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am unable to open a SAS dataset. When I click on the SAS file, I get this message.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RohiniJ_0-1742822613040.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105605i90031799487D9BB8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RohiniJ_0-1742822613040.png" alt="RohiniJ_0-1742822613040.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;How do I open the SAS file and not get this error message?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 09:20:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unable-to-open-SAS-DataSet/m-p/962504#M375131</guid>
      <dc:creator>RohiniJ</dc:creator>
      <dc:date>2025-03-26T09:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DataSet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unable-to-open-SAS-DataSet/m-p/962507#M375132</link>
      <description>&lt;P&gt;Have you checked, whether you have a library "TMP1" assigned?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Mar 2025 13:52:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unable-to-open-SAS-DataSet/m-p/962507#M375132</guid>
      <dc:creator>FK21</dc:creator>
      <dc:date>2025-03-24T13:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DataSet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unable-to-open-SAS-DataSet/m-p/962509#M375134</link>
      <description>How do i check that?</description>
      <pubDate>Mon, 24 Mar 2025 14:12:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unable-to-open-SAS-DataSet/m-p/962509#M375134</guid>
      <dc:creator>RohiniJ</dc:creator>
      <dc:date>2025-03-24T14:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DataSet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unable-to-open-SAS-DataSet/m-p/962512#M375136</link>
      <description>&lt;P&gt;Looks like you double clicked a FILE on your computer and it caused SAS to try and browse the dataset.&amp;nbsp; &amp;nbsp;&amp;nbsp;From your photograph it looks like the file is named person.sas7bdat.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The most common issue is that the dataset has formats attached that you do not have defined in your SAS session and you are running with the FMTERR option turned on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To get a better idea of what is happening avoid using the mouse and instead write some code.&amp;nbsp; Make your own libref that points to the directory that has the dataset. Then run code against the dataset to see what it contains.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So if the directory where that file exists is named C:\MyDir then try running code like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname mylib 'C:\MyDir\';
proc contents data=mylib.person; 
run;
proc print data=mylib.person(obs=10);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If the PROC CONTENTS shows that some of the variables have user defined formats attached and the PROC PRINT fails try turning off the FMTERR option.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options nofmterr;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Mar 2025 14:22:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unable-to-open-SAS-DataSet/m-p/962512#M375136</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2025-03-24T14:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DataSet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unable-to-open-SAS-DataSet/m-p/962566#M375162</link>
      <description>Plz post the LOG information when you open this dataset.&lt;BR /&gt;Or try Tom's advice:&lt;BR /&gt;&lt;BR /&gt;options nofmterr validvarname=any validmemname=extend ;&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Mar 2025 01:54:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unable-to-open-SAS-DataSet/m-p/962566#M375162</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-03-25T01:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DataSet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unable-to-open-SAS-DataSet/m-p/962658#M375186</link>
      <description>&lt;P&gt;Thank you! This worked!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I greatly appreciate the help!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 12:27:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unable-to-open-SAS-DataSet/m-p/962658#M375186</guid>
      <dc:creator>RohiniJ</dc:creator>
      <dc:date>2025-03-26T12:27:41Z</dc:date>
    </item>
  </channel>
</rss>

