<?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: unix mv command in sas in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/unix-mv-command-in-sas/m-p/427044#M281350</link>
    <description>&lt;P&gt;FCOPY() function&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/186058"&gt;@sfffdg&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to move a file from one directory to another directory in sas using x command.&lt;/P&gt;
&lt;P&gt;below is my command:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;x "mv &amp;amp;rawfile. &amp;amp;archivefile.";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but the file is not moving..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is anything wrong in the code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Swathi&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jan 2018 22:23:54 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-01-11T22:23:54Z</dc:date>
    <item>
      <title>unix mv command in sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/unix-mv-command-in-sas/m-p/427004#M281347</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to move a file from one directory to another directory in sas using x command.&lt;/P&gt;&lt;P&gt;below is my command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;x "mv &amp;amp;rawfile. &amp;amp;archivefile.";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but the file is not moving..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is anything wrong in the code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Swathi&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 20:41:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/unix-mv-command-in-sas/m-p/427004#M281347</guid>
      <dc:creator>sfffdg</dc:creator>
      <dc:date>2018-01-11T20:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: unix mv command in sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/unix-mv-command-in-sas/m-p/427005#M281348</link>
      <description>&lt;P&gt;Do your macro variables contain fully qualified paths? If not the source file is likely being searched for subordinate to the location of where the SAS is currently executing and not finding the file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also some environments your admin may have the system XCMD option disabled. You may be able to test this with:&lt;/P&gt;
&lt;PRE&gt;proc options option=xcmd;run;&lt;/PRE&gt;
&lt;P&gt;If the log shows NOXCMD that would be one thing to address.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 20:50:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/unix-mv-command-in-sas/m-p/427005#M281348</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-01-11T20:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: unix mv command in sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/unix-mv-command-in-sas/m-p/427008#M281349</link>
      <description>&lt;P&gt;To check if the command works, do this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename oscmd pipe "mv &amp;amp;rawfile. &amp;amp;archivefile 2&amp;gt;&amp;amp;1";

data _null_;
infile oscmd;
input;
put _infile_;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This will put all messages from the command into the log. If nothing is read, the command worked.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 20:59:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/unix-mv-command-in-sas/m-p/427008#M281349</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-01-11T20:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: unix mv command in sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/unix-mv-command-in-sas/m-p/427044#M281350</link>
      <description>&lt;P&gt;FCOPY() function&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/186058"&gt;@sfffdg&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to move a file from one directory to another directory in sas using x command.&lt;/P&gt;
&lt;P&gt;below is my command:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;x "mv &amp;amp;rawfile. &amp;amp;archivefile.";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but the file is not moving..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is anything wrong in the code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Swathi&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 22:23:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/unix-mv-command-in-sas/m-p/427044#M281350</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-01-11T22:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: unix mv command in sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/unix-mv-command-in-sas/m-p/427062#M281351</link>
      <description>Thank you sir!!&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Jan 2018 23:53:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/unix-mv-command-in-sas/m-p/427062#M281351</guid>
      <dc:creator>sfffdg</dc:creator>
      <dc:date>2018-01-11T23:53:06Z</dc:date>
    </item>
  </channel>
</rss>

