<?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: Last Data Set access date - how to get this info/date? in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Last-Data-Set-access-date-how-to-get-this-info-date/m-p/257508#M7008</link>
    <description>&lt;P&gt;Are your datasets on a server? What does your SAS set up look like?&lt;/P&gt;</description>
    <pubDate>Fri, 18 Mar 2016 04:23:43 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-03-18T04:23:43Z</dc:date>
    <item>
      <title>Last Data Set access date - how to get this info/date?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Last-Data-Set-access-date-how-to-get-this-info-date/m-p/257506#M7007</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to get the last access of some Data Set?&lt;/P&gt;
&lt;P&gt;I know its possible to get last modified date, create date, file size, etc...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could we know the last day someone opened or read this Data Set, by clicking or using FROM, SET, APPEND, etc?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 04:18:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Last-Data-Set-access-date-how-to-get-this-info-date/m-p/257506#M7007</guid>
      <dc:creator>Krohn</dc:creator>
      <dc:date>2016-03-18T04:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Last Data Set access date - how to get this info/date?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Last-Data-Set-access-date-how-to-get-this-info-date/m-p/257508#M7008</link>
      <description>&lt;P&gt;Are your datasets on a server? What does your SAS set up look like?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 04:23:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Last-Data-Set-access-date-how-to-get-this-info-date/m-p/257508#M7008</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-18T04:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Last Data Set access date - how to get this info/date?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Last-Data-Set-access-date-how-to-get-this-info-date/m-p/257511#M7009</link>
      <description>SAS Enterprise Guide 6.1&lt;BR /&gt;server 9.4&lt;BR /&gt;not sure about its setup</description>
      <pubDate>Fri, 18 Mar 2016 04:32:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Last-Data-Set-access-date-how-to-get-this-info-date/m-p/257511#M7009</guid>
      <dc:creator>Krohn</dc:creator>
      <dc:date>2016-03-18T04:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Last Data Set access date - how to get this info/date?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Last-Data-Set-access-date-how-to-get-this-info-date/m-p/257512#M7010</link>
      <description>there r many shared datasets in common libraries, online for months/years..im not sure if they've been used on last 6 months, for example</description>
      <pubDate>Fri, 18 Mar 2016 04:35:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Last-Data-Set-access-date-how-to-get-this-info-date/m-p/257512#M7010</guid>
      <dc:creator>Krohn</dc:creator>
      <dc:date>2016-03-18T04:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Last Data Set access date - how to get this info/date?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Last-Data-Set-access-date-how-to-get-this-info-date/m-p/257516#M7011</link>
      <description>In most operating systems there are tools for auditing open files. Check with the SAS server system administrator. &lt;BR /&gt;&lt;BR /&gt;In SAS there are also means to log/audit data set/view/cube usage. But to be effective the SAS administrator must lock down access to data that bypass intelligence server services. &lt;BR /&gt;&lt;BR /&gt;Either way, this will require some substantial effort. &lt;BR /&gt;&lt;BR /&gt;You will have an easier situation if all your would reside in a data base  (SAS SPD Server or 3rd party).&lt;BR /&gt;&lt;BR /&gt;What's the use case?</description>
      <pubDate>Fri, 18 Mar 2016 05:12:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Last-Data-Set-access-date-how-to-get-this-info-date/m-p/257516#M7011</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-03-18T05:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Last Data Set access date - how to get this info/date?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Last-Data-Set-access-date-how-to-get-this-info-date/m-p/257527#M7013</link>
      <description>&lt;P&gt;On which operating system does your SAS run? (Not the EG)&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 07:40:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Last-Data-Set-access-date-how-to-get-this-info-date/m-p/257527#M7013</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-03-18T07:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Last Data Set access date - how to get this info/date?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Last-Data-Set-access-date-how-to-get-this-info-date/m-p/257567#M7014</link>
      <description>Linux</description>
      <pubDate>Fri, 18 Mar 2016 11:17:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Last-Data-Set-access-date-how-to-get-this-info-date/m-p/257567#M7014</guid>
      <dc:creator>Krohn</dc:creator>
      <dc:date>2016-03-18T11:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Last Data Set access date - how to get this info/date?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Last-Data-Set-access-date-how-to-get-this-info-date/m-p/257570#M7015</link>
      <description>&lt;P&gt;In linux, ls -ul &lt;EM&gt;filename&lt;/EM&gt; will display the last access time.&lt;/P&gt;
&lt;P&gt;Try:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename oscmd pipe "ls -ul &amp;amp;filename";

data acctime;
infile oscmd;
length
  perms $10
  links 3
  user $8
  group $8
  size 8
  month $3
  day 3
  ytime $5
  fname $100
  year 3
  time 8
;
format
  time time5.
  acc_time datetime19.
;
input perms links user group size month day ytime fname;
if length(ytime) = 4
then do;
  year = input(ytime,4.);
  time = 0;
end;
else do;
  year = year(date());
  time = input(ytime,time5.);
end;
acdate = input(put(day,z2.)!!month!!put(year,z4.),date9.);
acc_time = acdate * 86400 + time;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 18 Mar 2016 11:48:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Last-Data-Set-access-date-how-to-get-this-info-date/m-p/257570#M7015</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-03-18T11:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Last Data Set access date - how to get this info/date?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Last-Data-Set-access-date-how-to-get-this-info-date/m-p/257599#M7022</link>
      <description>i tried it but i got the last modified time with this command, even though ls --help says that means access time&lt;BR /&gt;gonna try soon again n carefully</description>
      <pubDate>Fri, 18 Mar 2016 12:49:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Last-Data-Set-access-date-how-to-get-this-info-date/m-p/257599#M7022</guid>
      <dc:creator>Krohn</dc:creator>
      <dc:date>2016-03-18T12:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Last Data Set access date - how to get this info/date?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Last-Data-Set-access-date-how-to-get-this-info-date/m-p/257605#M7023</link>
      <description>&lt;P&gt;Reading &lt;A href="http://unix.stackexchange.com/questions/8840/last-time-file-opened" target="_self"&gt;http://unix.stackexchange.com/questions/8840/last-time-file-opened&lt;/A&gt; closely, it may be that your filesystem is mounted with the &lt;FONT face="courier new,courier"&gt;noatime&lt;/FONT&gt; option, which prevents recording of access times for performance reasons. If your filesystem has mainly SAS data, mounting it without &lt;FONT face="courier new,courier"&gt;noatime&lt;/FONT&gt; should not be a problem, as with SAS the files are relatively large, and open/close are rare operations compared to file read/write.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 12:57:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Last-Data-Set-access-date-how-to-get-this-info-date/m-p/257605#M7023</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-03-18T12:57:05Z</dc:date>
    </item>
  </channel>
</rss>

