<?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: EG8.2 Copy Files Task - no log - why? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/EG8-2-Copy-Files-Task-no-log-why/m-p/862940#M340886</link>
    <description>&lt;P&gt;Forgive me replying to my own post.&amp;nbsp; &amp;nbsp;At least I've got the answer to the first question.&amp;nbsp; &amp;nbsp;For those in the same position, the log from "Copy Task" can be found by clicking on the "Copy Task" tab.&amp;nbsp; &amp;nbsp;It's not called "Log" presumably because it's a task as opposed to a piece of code.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Question 2) (automating copy files tasks) still remains.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 08 Mar 2023 13:44:04 GMT</pubDate>
    <dc:creator>RobM2</dc:creator>
    <dc:date>2023-03-08T13:44:04Z</dc:date>
    <item>
      <title>EG8.2 Copy Files Task - no log - why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/EG8-2-Copy-Files-Task-no-log-why/m-p/862891#M340846</link>
      <description>&lt;P&gt;Hi all - my first post here.&lt;/P&gt;&lt;P&gt;[I have searched for this so sorry if it's a well known solution]&lt;/P&gt;&lt;P&gt;I have a couple of questions in using SASEG8.2 (connecting to SASCompute) to copy data files to a local destination.&amp;nbsp; &amp;nbsp;FWIW this is for "local" processing before they're migrated to SASApp.&amp;nbsp; &amp;nbsp;Sadly we don't have command-line level access so I can't just mount the network drive and scp them etc.&lt;/P&gt;&lt;P&gt;1) I'm using the Copy Files task for this but I'm finding it a bit awkward.&amp;nbsp; &amp;nbsp;If it fails, I'm not getting any log / feedback as to why.&amp;nbsp; &amp;nbsp;I just get the node with a red "cross" symbol and there's no log.&amp;nbsp; &amp;nbsp;Right-clicking on it and selecting Extract Code brings up a code window with 4 blank lines.&amp;nbsp; &amp;nbsp;Is there a setting somewhere to tell me why the task has failed?&amp;nbsp; &amp;nbsp;I have made it work some times but it's not always clear why it's failed.&lt;/P&gt;&lt;P&gt;2) Is there a way to run the Copy Files task with code?&amp;nbsp; &amp;nbsp;I have quite a few very big tables in separate libraries to copy so not easy to move to one place and use a wildcard.&amp;nbsp; &amp;nbsp;Would be better if I could wrap it up in a loop and just give it a list of tables to copy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 10:05:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/EG8-2-Copy-Files-Task-no-log-why/m-p/862891#M340846</guid>
      <dc:creator>RobM2</dc:creator>
      <dc:date>2023-03-08T10:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: EG8.2 Copy Files Task - no log - why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/EG8-2-Copy-Files-Task-no-log-why/m-p/862940#M340886</link>
      <description>&lt;P&gt;Forgive me replying to my own post.&amp;nbsp; &amp;nbsp;At least I've got the answer to the first question.&amp;nbsp; &amp;nbsp;For those in the same position, the log from "Copy Task" can be found by clicking on the "Copy Task" tab.&amp;nbsp; &amp;nbsp;It's not called "Log" presumably because it's a task as opposed to a piece of code.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Question 2) (automating copy files tasks) still remains.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 13:44:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/EG8-2-Copy-Files-Task-no-log-why/m-p/862940#M340886</guid>
      <dc:creator>RobM2</dc:creator>
      <dc:date>2023-03-08T13:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: EG8.2 Copy Files Task - no log - why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/EG8-2-Copy-Files-Task-no-log-why/m-p/862943#M340889</link>
      <description>&lt;P&gt;Since this task isn't generating SAS code -- it just uses behind-the-scenes APIs to do the work -- there is not a way to automate outside of the task. It supports wildcards to cover multiple files, but not recursive subfolders actions or multiple sets of files in one go.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To accomplish that, you would need to use something like FTP -- which this task emulates but using the SAS APIs, not actual FTP.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 13:56:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/EG8-2-Copy-Files-Task-no-log-why/m-p/862943#M340889</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2023-03-08T13:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: EG8.2 Copy Files Task - no log - why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/EG8-2-Copy-Files-Task-no-log-why/m-p/862946#M340892</link>
      <description>&lt;P&gt;Copy Files is an action initiated on the client side. Everything in EG is run&amp;nbsp;&lt;U&gt;from&lt;/U&gt; EG &lt;U&gt;to&lt;/U&gt; the server. There is no means to initiate an action in EG (like receiving a file) from the server side.&lt;/P&gt;
&lt;P&gt;To automate data transfers from the SAS server to "external" destinations, you need a means for the transfer on the SAS server; you can use FILENAME SFTP, or have a mount established in the server filesystem to every intended final destination. Or, if system option XCMD is enabled, use scp/sftp.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 14:09:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/EG8-2-Copy-Files-Task-no-log-why/m-p/862946#M340892</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-03-08T14:09:18Z</dc:date>
    </item>
  </channel>
</rss>

