<?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: calling &amp;quot;copy files&amp;quot; step within a SAS EG program in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/calling-quot-copy-files-quot-step-within-a-SAS-EG-program/m-p/494291#M31847</link>
    <description>&lt;P&gt;No, you can't script the Copy Files task in a SAS program.&amp;nbsp; In SAS, you can use FILENAME FTP (alluded to by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/83078"&gt;@SuryaKiran&lt;/a&gt;) or you can reference the file (if possible) from a shared network location.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Copy Files task does not use SAS code for its work -- it copies the files in an FTP-like manner, but using the SAS session connection in place of the traditional FTP server.&amp;nbsp; Since the action is initiated by EG, you can't cue this up in a SAS program.&lt;/P&gt;</description>
    <pubDate>Mon, 10 Sep 2018 19:57:52 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2018-09-10T19:57:52Z</dc:date>
    <item>
      <title>calling "copy files" step within a SAS EG program</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/calling-quot-copy-files-quot-step-within-a-SAS-EG-program/m-p/494277#M31845</link>
      <description>&lt;P&gt;I want to read an excel file from local machine while my EG is connected to a server box and I cannot use local address like c:\...&lt;/P&gt;&lt;P&gt;I use task/data/copy files menu and copied the file to the server and then read it from there using a proc import. I need to call this step within my ptogram files to make sure that the latest version of the file is uploaded and read. Is there anyway that I call that step (Copy File) in a sas program within EG?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2018 19:24:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/calling-quot-copy-files-quot-step-within-a-SAS-EG-program/m-p/494277#M31845</guid>
      <dc:creator>roohaa</dc:creator>
      <dc:date>2018-09-10T19:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: calling "copy files" step within a SAS EG program</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/calling-quot-copy-files-quot-step-within-a-SAS-EG-program/m-p/494287#M31846</link>
      <description>&lt;P&gt;I don't think this is possible. What operating system is your server and your local machine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One solution that comes into my mind is synchronizing the files using FTP Scripts. WinSCP is one such tool for transferring files. &lt;A href="https://winscp.net/eng/docs/guide_automation" target="_self"&gt;Check this&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2018 19:43:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/calling-quot-copy-files-quot-step-within-a-SAS-EG-program/m-p/494287#M31846</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2018-09-10T19:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: calling "copy files" step within a SAS EG program</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/calling-quot-copy-files-quot-step-within-a-SAS-EG-program/m-p/494291#M31847</link>
      <description>&lt;P&gt;No, you can't script the Copy Files task in a SAS program.&amp;nbsp; In SAS, you can use FILENAME FTP (alluded to by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/83078"&gt;@SuryaKiran&lt;/a&gt;) or you can reference the file (if possible) from a shared network location.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Copy Files task does not use SAS code for its work -- it copies the files in an FTP-like manner, but using the SAS session connection in place of the traditional FTP server.&amp;nbsp; Since the action is initiated by EG, you can't cue this up in a SAS program.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2018 19:57:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/calling-quot-copy-files-quot-step-within-a-SAS-EG-program/m-p/494291#M31847</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2018-09-10T19:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: calling "copy files" step within a SAS EG program</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/calling-quot-copy-files-quot-step-within-a-SAS-EG-program/m-p/494296#M31848</link>
      <description>I am using the SAS EG on linux box and the data or on windows. There is a security barrier that does not let me use proc import. However, I can use import/Copy Files in EG interface to read the data.&lt;BR /&gt;I need to replicate that process--copying the file from local to a temporary folder and then importing from there.</description>
      <pubDate>Mon, 10 Sep 2018 20:07:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/calling-quot-copy-files-quot-step-within-a-SAS-EG-program/m-p/494296#M31848</guid>
      <dc:creator>roohaa</dc:creator>
      <dc:date>2018-09-10T20:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: calling "copy files" step within a SAS EG program</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/calling-quot-copy-files-quot-step-within-a-SAS-EG-program/m-p/494298#M31849</link>
      <description>Right, for sharing and simplicity purposes, I was trying to import data through SAS utilities. Now, I am using the data/import data to read the data but it cannot be scripted as there is one step of uploading the file to a temporary space and I am not sure how to script that.</description>
      <pubDate>Mon, 10 Sep 2018 20:09:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/calling-quot-copy-files-quot-step-within-a-SAS-EG-program/m-p/494298#M31849</guid>
      <dc:creator>roohaa</dc:creator>
      <dc:date>2018-09-10T20:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: calling "copy files" step within a SAS EG program</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/calling-quot-copy-files-quot-step-within-a-SAS-EG-program/m-p/494324#M31850</link>
      <description>&lt;P&gt;You can't run a server-based process (using&amp;nbsp;SAS or something else) to do your file copy because of the security barrier. Talk to your SAS/IT administrator about setting up a folder location accessible by your SAS server where you can copy the file first before running your code. Preferably this folder location (share) should be accessible from both Linux and Windows.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2018 21:36:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/calling-quot-copy-files-quot-step-within-a-SAS-EG-program/m-p/494324#M31850</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-09-10T21:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: calling "copy files" step within a SAS EG program</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/calling-quot-copy-files-quot-step-within-a-SAS-EG-program/m-p/604270#M35080</link>
      <description>&lt;P&gt;An alternative is to call your Programs in order by using an ordered list which will accept the copy functionality as a step.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This way we ensure that the most recent file gets copied.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 20:27:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/calling-quot-copy-files-quot-step-within-a-SAS-EG-program/m-p/604270#M35080</guid>
      <dc:creator>Cotydog981</dc:creator>
      <dc:date>2019-11-14T20:27:10Z</dc:date>
    </item>
  </channel>
</rss>

