<?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 open dataset using filter 'ftp -v -n' does not react anyway in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-using-filter-ftp-v-n-does-not-react-anyway/m-p/540364#M20078</link>
    <description>&lt;P&gt;I want to transfer files to another server using the command 'OPEN DATASET'.&lt;/P&gt;
  &lt;P&gt;But if I try to execute that pipe command, the system does not write log for connection. Just create a 0byte file.&lt;/P&gt;
  &lt;P&gt;So I want to know how to check or how to test command 'open dataset using filter 'ftp -v -n' '.&lt;/P&gt;
  &lt;P&gt;Or do I have to check system configurations or something others?&lt;/P&gt;
  &lt;P&gt;Please give me a wise solution.&lt;/P&gt;
  &lt;P&gt;I attach my source code at below.&lt;/P&gt;
  &lt;P&gt;--------------------------------------------------&lt;/P&gt;
  &lt;P&gt; CONCATENATE 'open' g_host INTO open_rec SEPARATED BY space.&lt;BR /&gt; TRANSLATE open_rec TO LOWER CASE.&lt;BR /&gt;&lt;BR /&gt; CONCATENATE 'user' g_user g_pwd INTO user_rec SEPARATED BY space.&lt;BR /&gt; TRANSLATE user_rec TO LOWER CASE.&lt;BR /&gt;&lt;BR /&gt; pass_rec = 'cd /files/inbound'.&lt;BR /&gt; TRANSLATE pass_rec TO LOWER CASE.&lt;BR /&gt;&lt;BR /&gt; CLEAR l_msg.&lt;BR /&gt; TRY.&lt;BR /&gt; OPEN DATASET comd FOR OUTPUT IN TEXT MODE&lt;BR /&gt; FILTER 'ftp -v -n'&lt;BR /&gt; ENCODING UTF-8&lt;BR /&gt; MESSAGE l_msg.&lt;BR /&gt; ENDTRY.&lt;BR /&gt;&lt;BR /&gt; TRANSFER open_rec TO comd.&lt;BR /&gt; TRANSFER user_rec TO comd.&lt;BR /&gt; TRANSFER pass_rec TO comd.&lt;BR /&gt; TRANSFER put TO comd.&lt;BR /&gt; TRANSFER 'bye' TO comd.&lt;BR /&gt;&lt;BR /&gt; WAIT UP TO 5 SECONDS.&lt;BR /&gt;&lt;BR /&gt; TRY.&lt;BR /&gt; CLOSE DATASET comd.&lt;BR /&gt; CATCH cx_sy_file_close.&lt;BR /&gt; MESSAGE s000 WITH 'Fail to Close File' DISPLAY LIKE 'E'.&lt;BR /&gt; EXIT.&lt;BR /&gt; ENDTRY. &lt;/P&gt;
  &lt;P&gt;--------------------------------------------------&lt;/P&gt;</description>
    <pubDate>Wed, 27 Sep 2017 09:16:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2017-09-27T09:16:30Z</dc:date>
    <item>
      <title>open dataset using filter 'ftp -v -n' does not react anyway</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-using-filter-ftp-v-n-does-not-react-anyway/m-p/540364#M20078</link>
      <description>&lt;P&gt;I want to transfer files to another server using the command 'OPEN DATASET'.&lt;/P&gt;
  &lt;P&gt;But if I try to execute that pipe command, the system does not write log for connection. Just create a 0byte file.&lt;/P&gt;
  &lt;P&gt;So I want to know how to check or how to test command 'open dataset using filter 'ftp -v -n' '.&lt;/P&gt;
  &lt;P&gt;Or do I have to check system configurations or something others?&lt;/P&gt;
  &lt;P&gt;Please give me a wise solution.&lt;/P&gt;
  &lt;P&gt;I attach my source code at below.&lt;/P&gt;
  &lt;P&gt;--------------------------------------------------&lt;/P&gt;
  &lt;P&gt; CONCATENATE 'open' g_host INTO open_rec SEPARATED BY space.&lt;BR /&gt; TRANSLATE open_rec TO LOWER CASE.&lt;BR /&gt;&lt;BR /&gt; CONCATENATE 'user' g_user g_pwd INTO user_rec SEPARATED BY space.&lt;BR /&gt; TRANSLATE user_rec TO LOWER CASE.&lt;BR /&gt;&lt;BR /&gt; pass_rec = 'cd /files/inbound'.&lt;BR /&gt; TRANSLATE pass_rec TO LOWER CASE.&lt;BR /&gt;&lt;BR /&gt; CLEAR l_msg.&lt;BR /&gt; TRY.&lt;BR /&gt; OPEN DATASET comd FOR OUTPUT IN TEXT MODE&lt;BR /&gt; FILTER 'ftp -v -n'&lt;BR /&gt; ENCODING UTF-8&lt;BR /&gt; MESSAGE l_msg.&lt;BR /&gt; ENDTRY.&lt;BR /&gt;&lt;BR /&gt; TRANSFER open_rec TO comd.&lt;BR /&gt; TRANSFER user_rec TO comd.&lt;BR /&gt; TRANSFER pass_rec TO comd.&lt;BR /&gt; TRANSFER put TO comd.&lt;BR /&gt; TRANSFER 'bye' TO comd.&lt;BR /&gt;&lt;BR /&gt; WAIT UP TO 5 SECONDS.&lt;BR /&gt;&lt;BR /&gt; TRY.&lt;BR /&gt; CLOSE DATASET comd.&lt;BR /&gt; CATCH cx_sy_file_close.&lt;BR /&gt; MESSAGE s000 WITH 'Fail to Close File' DISPLAY LIKE 'E'.&lt;BR /&gt; EXIT.&lt;BR /&gt; ENDTRY. &lt;/P&gt;
  &lt;P&gt;--------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 09:16:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-using-filter-ftp-v-n-does-not-react-anyway/m-p/540364#M20078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-09-27T09:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: open dataset using filter 'ftp -v -n' does not react anyway</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-using-filter-ftp-v-n-does-not-react-anyway/m-p/540365#M20079</link>
      <description>&lt;P&gt;I don't think you can do FTP with OPEN DATASET if that's what you're trying to achieve... &lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2017 19:42:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-using-filter-ftp-v-n-does-not-react-anyway/m-p/540365#M20079</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2017-10-05T19:42:56Z</dc:date>
    </item>
  </channel>
</rss>

