<?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: Executing OS-Command in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-os-command/m-p/8141436#M1620351</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now I've to solve another problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to execute the command with quotes ("), to secure correctness by files with spaces.&lt;/P&gt;&lt;P&gt;so the command should be:&lt;/P&gt;&lt;P&gt;mv "/dir/file" "/dir/archive/file"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In telnet it runs perfect, but when I execute it in SM69, I always get the message:&lt;/P&gt;&lt;P&gt;No such file or directory.&lt;/P&gt;&lt;P&gt;So I think, SAP can't handle the quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas, how I can realize this statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Aug 2011 07:32:51 GMT</pubDate>
    <dc:creator>Private_Member_19084</dc:creator>
    <dc:date>2011-08-26T07:32:51Z</dc:date>
    <item>
      <title>Executing OS-Command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-os-command/m-p/8141430#M1620345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to execute the following OS statement, for moving files.&lt;/P&gt;&lt;P&gt;"mv /dir/file /dir/archive/file"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The command runs perfect via telnet on the server.&lt;/P&gt;&lt;P&gt;But when I execute the same via SM69 or program code "call system id command..." I always get the following error message:&lt;/P&gt;&lt;P&gt;"Can't exec external program (No sucha file or directory). External program terminated with exit code 1"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our OS is HP-UX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas, how I can execute the statement on the server via sap?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 15:07:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executing-os-command/m-p/8141430#M1620345</guid>
      <dc:creator>Private_Member_19084</dc:creator>
      <dc:date>2011-08-24T15:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Executing OS-Command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-os-command/m-p/8141431#M1620346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this link, worked fine for me:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8c5ceb90-0201-0010-66b1-aae00269b533?quicklink=index&amp;amp;overridelayout=true" target="test_blank"&gt;http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8c5ceb90-0201-0010-66b1-aae00269b533?quicklink=index&amp;amp;overridelayout=true&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 15:26:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executing-os-command/m-p/8141431#M1620346</guid>
      <dc:creator>former_member226519</dc:creator>
      <dc:date>2011-08-24T15:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Executing OS-Command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-os-command/m-p/8141432#M1620347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Volker,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your fast answer.&lt;/P&gt;&lt;P&gt;However I've solved the problem on my own.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My mistake was, that I've entered (for testing via SM69) the whole statement into "Operating system command".&lt;/P&gt;&lt;P&gt;So I entered: "mv &amp;lt;old path&amp;gt; &amp;lt;new path&amp;gt;".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in this field you only have to enter the command, thus "mv".&lt;/P&gt;&lt;P&gt;And the &amp;lt;old path&amp;gt; and &amp;lt;new path&amp;gt; you have to enter into the field "Parameters for os".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW: instead of LS -L you have to use LL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2011 06:26:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executing-os-command/m-p/8141432#M1620347</guid>
      <dc:creator>Private_Member_19084</dc:creator>
      <dc:date>2011-08-25T06:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Executing OS-Command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-os-command/m-p/8141433#M1620348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;BTW: instead of LS -L you have to use LL&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Not necessarily.&lt;/P&gt;&lt;P&gt;What you have found out about &lt;EM&gt;command&lt;/EM&gt; and &lt;EM&gt;parameter&lt;/EM&gt; does apply here as well.&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2011 06:47:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executing-os-command/m-p/8141433#M1620348</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-25T06:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Executing OS-Command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-os-command/m-p/8141434#M1620349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am an idiot, thank you very much for correcting my crazy statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2011 07:08:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executing-os-command/m-p/8141434#M1620349</guid>
      <dc:creator>Private_Member_19084</dc:creator>
      <dc:date>2011-08-25T07:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Executing OS-Command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-os-command/m-p/8141435#M1620350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No need for a self-reproach.&lt;/P&gt;&lt;P&gt;We all here were beginners some time ago.&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2011 07:24:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executing-os-command/m-p/8141435#M1620350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-25T07:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Executing OS-Command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-os-command/m-p/8141436#M1620351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now I've to solve another problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to execute the command with quotes ("), to secure correctness by files with spaces.&lt;/P&gt;&lt;P&gt;so the command should be:&lt;/P&gt;&lt;P&gt;mv "/dir/file" "/dir/archive/file"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In telnet it runs perfect, but when I execute it in SM69, I always get the message:&lt;/P&gt;&lt;P&gt;No such file or directory.&lt;/P&gt;&lt;P&gt;So I think, SAP can't handle the quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas, how I can realize this statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2011 07:32:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executing-os-command/m-p/8141436#M1620351</guid>
      <dc:creator>Private_Member_19084</dc:creator>
      <dc:date>2011-08-26T07:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Executing OS-Command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-os-command/m-p/8141437#M1620352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've now opened an own thread for the last question (as this has nothing to do with the first question):&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="2027140"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 13:28:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executing-os-command/m-p/8141437#M1620352</guid>
      <dc:creator>Private_Member_19084</dc:creator>
      <dc:date>2011-08-29T13:28:30Z</dc:date>
    </item>
  </channel>
</rss>

