<?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: Add a variable to a data set while preserving the audit trail in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Add-a-variable-to-a-data-set-while-preserving-the-audit-trail/m-p/649321#M194640</link>
    <description>&lt;P&gt;What do you think the purpose of an audit trail is?&lt;/P&gt;
&lt;P&gt;Cheating on something in this fashion for one data set would make me extremely suspicious of any data in your shop, especially if formal audits are ever done.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest going back in process so that the next time this is needed the variable is created at the same time the original test data set is.&lt;/P&gt;</description>
    <pubDate>Wed, 20 May 2020 18:19:16 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2020-05-20T18:19:16Z</dc:date>
    <item>
      <title>Add a variable to a data set while preserving the audit trail</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Add-a-variable-to-a-data-set-while-preserving-the-audit-trail/m-p/649309#M194637</link>
      <description>&lt;P&gt;Dear SAS-Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there a way to add a variables to a data set and preserve the audit trail?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data test;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; set test;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; new = 0;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;==&amp;gt; variable 'new' is added, but audit trail is lost&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data test;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; modify test;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; new = 0;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;==&amp;gt; audit trail is preserved, but variable 'new' is lost&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 17:17:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Add-a-variable-to-a-data-set-while-preserving-the-audit-trail/m-p/649309#M194637</guid>
      <dc:creator>Sasuser52</dc:creator>
      <dc:date>2020-05-20T17:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Add a variable to a data set while preserving the audit trail</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Add-a-variable-to-a-data-set-while-preserving-the-audit-trail/m-p/649321#M194640</link>
      <description>&lt;P&gt;What do you think the purpose of an audit trail is?&lt;/P&gt;
&lt;P&gt;Cheating on something in this fashion for one data set would make me extremely suspicious of any data in your shop, especially if formal audits are ever done.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest going back in process so that the next time this is needed the variable is created at the same time the original test data set is.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 18:19:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Add-a-variable-to-a-data-set-while-preserving-the-audit-trail/m-p/649321#M194640</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-05-20T18:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Add a variable to a data set while preserving the audit trail</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Add-a-variable-to-a-data-set-while-preserving-the-audit-trail/m-p/649556#M194758</link>
      <description>&lt;P&gt;Thank you for your answer &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;. I can assure you that I do not have the intention to cheat nor are any authorities involved. The audit trail can record the addition of a variable. In my case this is not necessary. For me it would be ok to suspend the audit trail, add the variable and afterwards resume the recording.&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2020 13:02:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Add-a-variable-to-a-data-set-while-preserving-the-audit-trail/m-p/649556#M194758</guid>
      <dc:creator>Sasuser52</dc:creator>
      <dc:date>2020-05-21T13:02:21Z</dc:date>
    </item>
  </channel>
</rss>

