<?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 Change modte date in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Change-modte-date/m-p/325606#M72433</link>
    <description>&lt;P&gt;Is it possible to change the last modified date of a SAS Dataset? I have a SAS Dataset (let's call it result.sas7bdat), using powershell, I already change the created date and last modified date. However, when I use this line of code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%let olddataid=%sysfunc(open(MYLIB.RESULT));&lt;/P&gt;&lt;P&gt;%let timestamp = %sysfunc(attrn(&amp;amp;newdataid,modte));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the timestamp still shows the original modified date, is there anyway to permanently change the last modified date?&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jan 2017 10:09:56 GMT</pubDate>
    <dc:creator>anthony2885</dc:creator>
    <dc:date>2017-01-18T10:09:56Z</dc:date>
    <item>
      <title>Change modte date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-modte-date/m-p/325606#M72433</link>
      <description>&lt;P&gt;Is it possible to change the last modified date of a SAS Dataset? I have a SAS Dataset (let's call it result.sas7bdat), using powershell, I already change the created date and last modified date. However, when I use this line of code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%let olddataid=%sysfunc(open(MYLIB.RESULT));&lt;/P&gt;&lt;P&gt;%let timestamp = %sysfunc(attrn(&amp;amp;newdataid,modte));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the timestamp still shows the original modified date, is there anyway to permanently change the last modified date?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 10:09:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-modte-date/m-p/325606#M72433</guid>
      <dc:creator>anthony2885</dc:creator>
      <dc:date>2017-01-18T10:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Change modte date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-modte-date/m-p/325612#M72436</link>
      <description>&lt;P&gt;You are missing a % in front of your second sysfunc &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 09:59:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-modte-date/m-p/325612#M72436</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2017-01-18T09:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Change modte date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-modte-date/m-p/325613#M72437</link>
      <description>&lt;P&gt;What do you want&amp;nbsp;to change it to?&lt;/P&gt;
&lt;P&gt;If the current datetime just do a harmless edit of the data set. Otherwise, I don't know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Even if this is not my business, but is it wise to tamper with created/update timestamps? They do tell you something&amp;nbsp;and is useful&amp;nbsp;for audit and maintenance&amp;nbsp;purposes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Fun fact: created timestamp can be changed within SAS using the DTC= option in PROC DATASETS, MODIFY statement.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 10:09:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-modte-date/m-p/325613#M72437</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-01-18T10:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Change modte date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-modte-date/m-p/325614#M72438</link>
      <description>&lt;P&gt;You would never want to, it is an audit nightmare. &amp;nbsp;Anyways, if your changing the timestamp of the file to something, then the act of changing it, is in of itself a change, and hence the timestamp should be that.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 10:15:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-modte-date/m-p/325614#M72438</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-01-18T10:15:17Z</dc:date>
    </item>
  </channel>
</rss>

