<?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: Copy Audit Files in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Copy-Audit-Files/m-p/71977#M20814</link>
    <description>Thanks must have missed that in the documentation.</description>
    <pubDate>Mon, 29 Mar 2010 16:08:24 GMT</pubDate>
    <dc:creator>darrylovia</dc:creator>
    <dc:date>2010-03-29T16:08:24Z</dc:date>
    <item>
      <title>Copy Audit Files</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Copy-Audit-Files/m-p/71975#M20812</link>
      <description>Hello All,&lt;BR /&gt;
&lt;BR /&gt;
I'm trying to make a copy of an entire library and one of my data sets has an audit file.  But when I copy the table via PROC DATASETS, the audit files does not copy.  See below my simple example;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
data work.SHOES;&lt;BR /&gt;
  set sashelp.SHOES;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
proc datasets library=work nolist;&lt;BR /&gt;
  audit SHOES ;&lt;BR /&gt;
  initiate;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
proc datasets ;&lt;BR /&gt;
  copy in=work out=SASUSER CLONE;&lt;BR /&gt;
    select SHOES ;&lt;BR /&gt;
quit; &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
4         data work.SHOES;&lt;BR /&gt;
15           set sashelp.SHOES;&lt;BR /&gt;
16         run;&lt;BR /&gt;
&lt;BR /&gt;
NOTE: There were 395 observations read from the data set SASHELP.SHOES.&lt;BR /&gt;
NOTE: The data set WORK.SHOES has 395 observations and 7 variables.&lt;BR /&gt;
NOTE: DATA statement used (Total process time):&lt;BR /&gt;
      real time           0.00 seconds&lt;BR /&gt;
      cpu time            0.00 seconds&lt;BR /&gt;
      &lt;BR /&gt;
&lt;BR /&gt;
17         &lt;BR /&gt;
18         proc datasets library=work nolist;&lt;BR /&gt;
19           audit SHOES ;&lt;BR /&gt;
20           initiate;&lt;BR /&gt;
WARNING: The audited data file WORK.SHOES.DATA is not password protected.  Apply an ALTER &lt;BR /&gt;
         password to prevent accidental deletion or replacement of it and any associated audit &lt;BR /&gt;
         files.&lt;BR /&gt;
21         run;&lt;BR /&gt;
&lt;BR /&gt;
NOTE: The data set WORK.SHOES.AUDIT has 0 observations and 13 variables.&lt;BR /&gt;
22         &lt;BR /&gt;
&lt;BR /&gt;
NOTE: PROCEDURE DATASETS used (Total process time):&lt;BR /&gt;
      real time           0.00 seconds&lt;BR /&gt;
      cpu time            0.00 seconds&lt;BR /&gt;
      &lt;BR /&gt;
&lt;BR /&gt;
23         proc datasets ;&lt;BR /&gt;
24           copy in=work out=SASUSER CLONE;&lt;BR /&gt;
25             select SHOES ;&lt;BR /&gt;
26         quit;&lt;BR /&gt;
2                                        The SAS System             09:15 Monday, March 29, 2010&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
NOTE: Copying WORK.SHOES to SASUSER.SHOES (memtype=DATA).&lt;BR /&gt;
WARNING: WORK.SHOES.DATA has an AUDIT file associated with it. AUDIT files will not be copied.&lt;BR /&gt;
NOTE: There were 395 observations read from the data set WORK.SHOES.&lt;BR /&gt;
NOTE: The data set SASUSER.SHOES has 395 observations and 7 variables.&lt;BR /&gt;
NOTE: PROCEDURE DATASETS used (Total process time):&lt;BR /&gt;
      real time           0.01 seconds&lt;BR /&gt;
      cpu time            0.01 seconds</description>
      <pubDate>Mon, 29 Mar 2010 13:49:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Copy-Audit-Files/m-p/71975#M20812</guid>
      <dc:creator>darrylovia</dc:creator>
      <dc:date>2010-03-29T13:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Audit Files</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Copy-Audit-Files/m-p/71976#M20813</link>
      <description>See discussion here:&lt;BR /&gt;
&lt;BR /&gt;
Understanding an Audit Trail&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/61722/HTML/default/a001224397.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/61722/HTML/default/a001224397.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Suggested Google advanced search argument, this topic/post:&lt;BR /&gt;
audit file site:sas.com</description>
      <pubDate>Mon, 29 Mar 2010 15:48:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Copy-Audit-Files/m-p/71976#M20813</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-03-29T15:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Audit Files</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Copy-Audit-Files/m-p/71977#M20814</link>
      <description>Thanks must have missed that in the documentation.</description>
      <pubDate>Mon, 29 Mar 2010 16:08:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Copy-Audit-Files/m-p/71977#M20814</guid>
      <dc:creator>darrylovia</dc:creator>
      <dc:date>2010-03-29T16:08:24Z</dc:date>
    </item>
  </channel>
</rss>

