<?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: When was data last updated in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/When-was-data-last-updated/m-p/263600#M3903</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not awhere of any builtin function that will return this information. However one could create a Stored Process that will return this information. The Stored Process could be called by anyone who wants to see this information, it could also be part of a report that displays this information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Find below a code example on how to get this information. running this code as a Stored Process one needs to provide the information for the SAS library and table to be used as parameter values (&amp;amp;libref and &amp;amp;tablename). The program will display when the LASR table was last modified. This has nothing to do with any date information within the data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options nocenter;
libname EVDMLA META library="Environment Manager Data Mart LASR";
proc sql; 
  create table myInfo as 
  select 
    catx(".", libname, memname) as tableName 
    , crdate format=datetime19.
    , modate format=datetime19.
  from 
    dictionary.tables 
  where 
    libname = "%upcase(&amp;amp;libref)" 
    and memname = "%upcase(&amp;amp;tablename)" 
  ; 
quit; 
proc report data=myInfo noheader; 
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The output of the Stored Process is in add to your report. See sample output below:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/2749i249C6A72E3713C3F/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="Capture.PNG" title="Capture.PNG" height="354" width="770" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
    <pubDate>Wed, 13 Apr 2016 17:22:24 GMT</pubDate>
    <dc:creator>BrunoMueller</dc:creator>
    <dc:date>2016-04-13T17:22:24Z</dc:date>
    <item>
      <title>When was data last updated</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/When-was-data-last-updated/m-p/263171#M3894</link>
      <description>&lt;P&gt;Is it possible for a user that don't have access to SASVisualAnalyticsAdministrator to see when the data in LASR was updated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A workaround is to add a variable last_updated when the data is created, but I think there must be another way around.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;VA&amp;nbsp;version 7.3&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 13:08:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/When-was-data-last-updated/m-p/263171#M3894</guid>
      <dc:creator>Allan_dk</dc:creator>
      <dc:date>2016-04-12T13:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: When was data last updated</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/When-was-data-last-updated/m-p/263600#M3903</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not awhere of any builtin function that will return this information. However one could create a Stored Process that will return this information. The Stored Process could be called by anyone who wants to see this information, it could also be part of a report that displays this information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Find below a code example on how to get this information. running this code as a Stored Process one needs to provide the information for the SAS library and table to be used as parameter values (&amp;amp;libref and &amp;amp;tablename). The program will display when the LASR table was last modified. This has nothing to do with any date information within the data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options nocenter;
libname EVDMLA META library="Environment Manager Data Mart LASR";
proc sql; 
  create table myInfo as 
  select 
    catx(".", libname, memname) as tableName 
    , crdate format=datetime19.
    , modate format=datetime19.
  from 
    dictionary.tables 
  where 
    libname = "%upcase(&amp;amp;libref)" 
    and memname = "%upcase(&amp;amp;tablename)" 
  ; 
quit; 
proc report data=myInfo noheader; 
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The output of the Stored Process is in add to your report. See sample output below:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/2749i249C6A72E3713C3F/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="Capture.PNG" title="Capture.PNG" height="354" width="770" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 17:22:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/When-was-data-last-updated/m-p/263600#M3903</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2016-04-13T17:22:24Z</dc:date>
    </item>
  </channel>
</rss>

