<?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: Data file does not show any observations in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Data-file-does-not-show-any-observations/m-p/765617#M242523</link>
    <description>&lt;P&gt;I used save as to save the file in work folder to perm folder. Then I might have saved on it from the menu number of times. So this is unrecoverable right?&lt;/P&gt;</description>
    <pubDate>Thu, 02 Sep 2021 12:35:37 GMT</pubDate>
    <dc:creator>OzanKirtac</dc:creator>
    <dc:date>2021-09-02T12:35:37Z</dc:date>
    <item>
      <title>Data file does not show any observations</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-file-does-not-show-any-observations/m-p/765613#M242521</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was working on a SAS data file attached but after I saved it yesterday. I cannot re-open the data file. When I open it, it say no observations but there were observations.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any help on what might have happenned I attach the data file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 12:21:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-file-does-not-show-any-observations/m-p/765613#M242521</guid>
      <dc:creator>OzanKirtac</dc:creator>
      <dc:date>2021-09-02T12:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Data file does not show any observations</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-file-does-not-show-any-observations/m-p/765615#M242522</link>
      <description>&lt;P&gt;So you did something that removed all observations. We would need to see the code you ran in order to diagnose what happened.&lt;/P&gt;
&lt;P&gt;But for now, you can only re-import the data from the original source once again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;BIG&lt;/STRONG&gt; hint: never overwrite a dataset in one step, like&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data x;
set x;
....
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Always create a new dataset, and only overwrite the original once you have verified the operation was successful.&lt;/P&gt;
&lt;P&gt;I myself do not overwrite any intermediate datasets, I always keep them until the termination of the SAS session deletes the WORK location. Datasets in permanent libraries are only overwritten when: see above.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 12:32:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-file-does-not-show-any-observations/m-p/765615#M242522</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-09-02T12:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Data file does not show any observations</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-file-does-not-show-any-observations/m-p/765617#M242523</link>
      <description>&lt;P&gt;I used save as to save the file in work folder to perm folder. Then I might have saved on it from the menu number of times. So this is unrecoverable right?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 12:35:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-file-does-not-show-any-observations/m-p/765617#M242523</guid>
      <dc:creator>OzanKirtac</dc:creator>
      <dc:date>2021-09-02T12:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Data file does not show any observations</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-file-does-not-show-any-observations/m-p/765620#M242525</link>
      <description>&lt;P&gt;Unless you have a backup at hand from which to restore a previous version of a given file, there is nothing you can do except recreate the dataset from the beginning.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 12:43:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-file-does-not-show-any-observations/m-p/765620#M242525</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-09-02T12:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Data file does not show any observations</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-file-does-not-show-any-observations/m-p/765693#M242540</link>
      <description>You don't usually use Save As to save data sets, you use it to save SAS programs, to save data sets you use a libname statement in a program.</description>
      <pubDate>Thu, 02 Sep 2021 17:27:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-file-does-not-show-any-observations/m-p/765693#M242540</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-09-02T17:27:05Z</dc:date>
    </item>
  </channel>
</rss>

