<?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 Using the UNIX &amp;quot;cp -p&amp;quot; command within SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Using-the-UNIX-quot-cp-p-quot-command-within-SAS/m-p/287849#M59265</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to submit the following code where I need to copy the file "sample.sas" from one folder to another whilst preserving the owner of the file. It executes without error and copies the file, but it changes the owner despite having the '-p' statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas - am I missing something?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename copy pipe "cp -p /team/dave/sample.sas /team/marc ";

data error;
  file copy;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 28 Jul 2016 15:40:04 GMT</pubDate>
    <dc:creator>Enio</dc:creator>
    <dc:date>2016-07-28T15:40:04Z</dc:date>
    <item>
      <title>Using the UNIX "cp -p" command within SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-the-UNIX-quot-cp-p-quot-command-within-SAS/m-p/287849#M59265</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to submit the following code where I need to copy the file "sample.sas" from one folder to another whilst preserving the owner of the file. It executes without error and copies the file, but it changes the owner despite having the '-p' statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas - am I missing something?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename copy pipe "cp -p /team/dave/sample.sas /team/marc ";

data error;
  file copy;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Jul 2016 15:40:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-the-UNIX-quot-cp-p-quot-command-within-SAS/m-p/287849#M59265</guid>
      <dc:creator>Enio</dc:creator>
      <dc:date>2016-07-28T15:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using the UNIX "cp -p" command within SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-the-UNIX-quot-cp-p-quot-command-within-SAS/m-p/287855#M59268</link>
      <description>&lt;P&gt;Have you tried using the X command to send commands directly to the operating system?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 15:54:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-the-UNIX-quot-cp-p-quot-command-within-SAS/m-p/287855#M59268</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-07-28T15:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using the UNIX "cp -p" command within SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-the-UNIX-quot-cp-p-quot-command-within-SAS/m-p/287862#M59271</link>
      <description>&lt;P&gt;Hi, yes I have. Identical issues there as well.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 16:12:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-the-UNIX-quot-cp-p-quot-command-within-SAS/m-p/287862#M59271</guid>
      <dc:creator>Enio</dc:creator>
      <dc:date>2016-07-28T16:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using the UNIX "cp -p" command within SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-the-UNIX-quot-cp-p-quot-command-within-SAS/m-p/287864#M59272</link>
      <description>&lt;P&gt;Here's something to think about. If you are using a SERVER version of SAS the code is executed by the server. Perhaps the owner is the Server running SAS??&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 16:17:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-the-UNIX-quot-cp-p-quot-command-within-SAS/m-p/287864#M59272</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-07-28T16:17:49Z</dc:date>
    </item>
  </channel>
</rss>

