<?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 when was last date/time that sas data set was updated? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/when-was-last-date-time-that-sas-data-set-was-updated/m-p/804732#M316942</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;Let's say that there is a sas data set that is saved in a permanent sas library.&lt;/P&gt;
&lt;P&gt;Let's say that the data set is called RRR.cars (RRR is the permanent library name).&lt;/P&gt;
&lt;P&gt;I would like to know when was the last update of this data set (date and time)&lt;/P&gt;
&lt;P&gt;what is the way to check it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Mar 2022 12:27:49 GMT</pubDate>
    <dc:creator>Ronein</dc:creator>
    <dc:date>2022-03-29T12:27:49Z</dc:date>
    <item>
      <title>when was last date/time that sas data set was updated?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/when-was-last-date-time-that-sas-data-set-was-updated/m-p/804732#M316942</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;Let's say that there is a sas data set that is saved in a permanent sas library.&lt;/P&gt;
&lt;P&gt;Let's say that the data set is called RRR.cars (RRR is the permanent library name).&lt;/P&gt;
&lt;P&gt;I would like to know when was the last update of this data set (date and time)&lt;/P&gt;
&lt;P&gt;what is the way to check it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 12:27:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/when-was-last-date-time-that-sas-data-set-was-updated/m-p/804732#M316942</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2022-03-29T12:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: when was last date/time that sas data set was updated?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/when-was-last-date-time-that-sas-data-set-was-updated/m-p/804735#M316945</link>
      <description>&lt;P&gt;In SQL:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;select modate
from dictionary.tables
where
  libname = "RRR"
  and memname = "CARS"
;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Library and member name must be in upper case.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 12:36:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/when-was-last-date-time-that-sas-data-set-was-updated/m-p/804735#M316945</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-03-29T12:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: when was last date/time that sas data set was updated?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/when-was-last-date-time-that-sas-data-set-was-updated/m-p/804739#M316949</link>
      <description>Thank  you so much</description>
      <pubDate>Tue, 29 Mar 2022 12:49:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/when-was-last-date-time-that-sas-data-set-was-updated/m-p/804739#M316949</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2022-03-29T12:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: when was last date/time that sas data set was updated?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/when-was-last-date-time-that-sas-data-set-was-updated/m-p/804743#M316951</link>
      <description>&lt;P&gt;Another option would be:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data wotk.x;
  set sashelp.class;
run;

proc contents noprint 
  data = work.x 
  out = nodate(keep=modate varnum where=(varnum=1));
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;it jumps directly to that particular data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and if you are focused on all datasets in given library:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents noprint 
  data = work._all_ 
  out = nodate(keep=modate varnum memname where=(varnum=1));
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the best&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 13:07:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/when-was-last-date-time-that-sas-data-set-was-updated/m-p/804743#M316951</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2022-03-29T13:07:14Z</dc:date>
    </item>
  </channel>
</rss>

