<?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: Recent files and history in SAS/Studio in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Recent-files-and-history-in-SAS-Studio/m-p/912050#M11202</link>
    <description>libname lasttabs json '%APPDATA%\Roaming\SAS\SASStudio\preferences\editTabContentPane.SWE.lastTabs.key' ; works nicely. There are useful values in name, uri and ModifiedDate which is in millisecs (from 1970?). More work needed.</description>
    <pubDate>Fri, 19 Jan 2024 02:02:44 GMT</pubDate>
    <dc:creator>Acf2</dc:creator>
    <dc:date>2024-01-19T02:02:44Z</dc:date>
    <item>
      <title>Recent files and history in SAS/Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Recent-files-and-history-in-SAS-Studio/m-p/911977#M11199</link>
      <description>&lt;P&gt;Is there any mechanism to query a history of SAS\Studio activity?&lt;/P&gt;&lt;P&gt;When '&amp;nbsp;Continue where you left off' is specified in Startup preferences, where are the details stored?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Somewhere, I saw a reference to&amp;nbsp; %AppData%\SAS\SASStudio\preferences\ but I don't have that location.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SAS release:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;9.04.01M8P01182023&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;SAS platform:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;X64_SRV19 WIN&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 15:49:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Recent-files-and-history-in-SAS-Studio/m-p/911977#M11199</guid>
      <dc:creator>Acf2</dc:creator>
      <dc:date>2024-01-18T15:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Recent files and history in SAS/Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Recent-files-and-history-in-SAS-Studio/m-p/911996#M11200</link>
      <description>On the server, I have found %APPDATA%\Roaming\SAS\SASStudio\preferences\editTabContentPane.SWE.lastTabs.key which looks promising but there are lots of references to the same SAS program names and '~ps' is equivalent to '\'.</description>
      <pubDate>Thu, 18 Jan 2024 17:44:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Recent-files-and-history-in-SAS-Studio/m-p/911996#M11200</guid>
      <dc:creator>Acf2</dc:creator>
      <dc:date>2024-01-18T17:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Recent files and history in SAS/Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Recent-files-and-history-in-SAS-Studio/m-p/912050#M11202</link>
      <description>libname lasttabs json '%APPDATA%\Roaming\SAS\SASStudio\preferences\editTabContentPane.SWE.lastTabs.key' ; works nicely. There are useful values in name, uri and ModifiedDate which is in millisecs (from 1970?). More work needed.</description>
      <pubDate>Fri, 19 Jan 2024 02:02:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Recent-files-and-history-in-SAS-Studio/m-p/912050#M11202</guid>
      <dc:creator>Acf2</dc:creator>
      <dc:date>2024-01-19T02:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Recent files and history in SAS/Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Recent-files-and-history-in-SAS-Studio/m-p/917928#M11217</link>
      <description>&lt;P&gt;The JSON has a bunch of info which may be better but this primitive approach seems to be working over the past few weeks :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;libname lasttabs clear ;&lt;BR /&gt;libname lasttabs json "%sysget(APPDATA)\SAS\SASStudio\preferences\editTabContentPane.SWE.lastTabs.key" ;&lt;BR /&gt;&lt;BR /&gt;data work.recent_progs (keep = nowdt uriparent name moddt) ;&lt;BR /&gt;set lasttabs.maintabs ;&lt;BR /&gt;JSONstringSecs = input(modifieddate, 13.) / 1000 ;&lt;BR /&gt;moddt = JSONstringSecs + intnx('second','01jan1960:00:00:00'dt,'01jan1970:00:00:00'dt) ;&lt;BR /&gt;nowdt = datetime() ;&lt;BR /&gt;format nowdt B8601DT15. ;&lt;BR /&gt;run ;&lt;BR /&gt;&lt;BR /&gt;proc sql ;&lt;BR /&gt;create table mydata.prev_progs as&lt;BR /&gt;select * from mydata.recent_progs ;&lt;BR /&gt;&lt;BR /&gt;insert into mydata.recent_progs&lt;BR /&gt;select * from work.recent_progs&lt;BR /&gt;where name not in &lt;BR /&gt;(select distinct name from mydata.prev_progs) ;&lt;BR /&gt;&lt;BR /&gt;select nowdt &lt;BR /&gt;  , uriparent&lt;BR /&gt;  , name&lt;BR /&gt;  , moddt format = datetime.&lt;BR /&gt;from mydata.recent_progs&lt;BR /&gt;order by 3 desc&lt;BR /&gt;;&lt;BR /&gt;quit ;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 17:50:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Recent-files-and-history-in-SAS-Studio/m-p/917928#M11217</guid>
      <dc:creator>Acf2</dc:creator>
      <dc:date>2024-02-26T17:50:58Z</dc:date>
    </item>
  </channel>
</rss>

