<?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: Moving External Files in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Moving-External-Files/m-p/7452#M2364</link>
    <description>I am sure there are ways to perform it, but as one of the resident noobs, I wonder if its more resource efficient to perform it as a cron tab script that checks the file for some criteria before it scps it over.

Message was edited by: Joshua</description>
    <pubDate>Thu, 13 Mar 2008 15:24:04 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-03-13T15:24:04Z</dc:date>
    <item>
      <title>Moving External Files</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Moving-External-Files/m-p/7450#M2362</link>
      <description>All&lt;BR /&gt;
&lt;BR /&gt;
I receive through out the day raw externals files that go to drive "X" and once the SAS project finishes processing that file, it needs to  be moved to drive "Y".  &lt;BR /&gt;
I would normally use the x command to do that.  I know that the xcmd option is turned off by default on EG and our IT department will not turn it on due to security reasons.&lt;BR /&gt;
&lt;BR /&gt;
There must be a way around this.  &lt;BR /&gt;
Any ideas?&lt;BR /&gt;
&lt;BR /&gt;
-Darryl</description>
      <pubDate>Thu, 13 Mar 2008 14:38:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Moving-External-Files/m-p/7450#M2362</guid>
      <dc:creator>darrylovia</dc:creator>
      <dc:date>2008-03-13T14:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Moving External Files</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Moving-External-Files/m-p/7451#M2363</link>
      <description>Simple.  Many solutions.  Here's two.&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
filename x_in "X:\input_file.dat";&lt;BR /&gt;
filename y_out "Y:\output_file.dat";&lt;BR /&gt;
 &lt;BR /&gt;
data process_stuff;&lt;BR /&gt;
  infile x_in;&lt;BR /&gt;
  file y_out;&lt;BR /&gt;
 &lt;BR /&gt;
  input stuff;&lt;BR /&gt;
 &lt;BR /&gt;
  /* process stuff */&lt;BR /&gt;
 &lt;BR /&gt;
  put stuff;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
OR&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
filename x_in "X:\..." ;&lt;BR /&gt;
libname y_out "Y:\output_directory";&lt;BR /&gt;
&lt;BR /&gt;
data y_out.processed_stuff;&lt;BR /&gt;
  infile x_in;&lt;BR /&gt;
  input stuff;&lt;BR /&gt;
 &lt;BR /&gt;
 /* process stuff */&lt;BR /&gt;
 &lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Within EG, to do the second one, you simply add an "Assign library" task to the project that is done first, that creates the "y_out" library.  Then within the appropriate processing task/node, you specify the output to go to that library.</description>
      <pubDate>Thu, 13 Mar 2008 15:01:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Moving-External-Files/m-p/7451#M2363</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-03-13T15:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Moving External Files</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Moving-External-Files/m-p/7452#M2364</link>
      <description>I am sure there are ways to perform it, but as one of the resident noobs, I wonder if its more resource efficient to perform it as a cron tab script that checks the file for some criteria before it scps it over.

Message was edited by: Joshua</description>
      <pubDate>Thu, 13 Mar 2008 15:24:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Moving-External-Files/m-p/7452#M2364</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-03-13T15:24:04Z</dc:date>
    </item>
  </channel>
</rss>

