<?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 SAS audit dataset in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-audit-dataset/m-p/502333#M134087</link>
    <description>&lt;P&gt;May I know how to check if 'class' is an audit dataset, and not 'cars'? Is there any %sysfunc to check?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data class;&lt;BR /&gt;set sashelp.class;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data cars;&lt;BR /&gt;set sashelp.cars;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc datasets library=work nolist nodetails;&lt;BR /&gt;audit class;&lt;BR /&gt;initiate;&lt;BR /&gt;quit;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Oct 2018 09:55:25 GMT</pubDate>
    <dc:creator>scb</dc:creator>
    <dc:date>2018-10-08T09:55:25Z</dc:date>
    <item>
      <title>SAS audit dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-audit-dataset/m-p/502333#M134087</link>
      <description>&lt;P&gt;May I know how to check if 'class' is an audit dataset, and not 'cars'? Is there any %sysfunc to check?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data class;&lt;BR /&gt;set sashelp.class;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data cars;&lt;BR /&gt;set sashelp.cars;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc datasets library=work nolist nodetails;&lt;BR /&gt;audit class;&lt;BR /&gt;initiate;&lt;BR /&gt;quit;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 09:55:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-audit-dataset/m-p/502333#M134087</guid>
      <dc:creator>scb</dc:creator>
      <dc:date>2018-10-08T09:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAS audit dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-audit-dataset/m-p/502339#M134088</link>
      <description>&lt;P&gt;Take a look at dictionary.tables, the variable AUDIT should tell you if an adit trail is active:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
  select memname,audit from dictionary.tables
  where libname='WORK' and memtype='DATA';
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You have to use the memtype='DATA' conditon, because there is also an 'AUDIT' type table with the name CLASS.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 10:28:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-audit-dataset/m-p/502339#M134088</guid>
      <dc:creator>s_lassen</dc:creator>
      <dc:date>2018-10-08T10:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: SAS audit dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-audit-dataset/m-p/502375#M134108</link>
      <description>&lt;P&gt;There is an option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data want;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;set class(type=audit);&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and also check dictionary ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;proc sql;&lt;BR /&gt; select * from dictionary.TABLE_CONSTRAINTS; quit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 12:42:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-audit-dataset/m-p/502375#M134108</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2018-10-08T12:42:52Z</dc:date>
    </item>
  </channel>
</rss>

