<?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>Question Re: Run OS command in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/run-os-command/qaa-p/10347812#M3748249</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PI will pick files from AL11 and my question was where to write unix script for my change. please nyone suggest as its bit urgent. I'll write command to execute that script under runoscommand, however where i need to write script as PI is not connecting to source system. some other tool is placing files under AL11 and its nfs. so where i need to write my script. any one please suggest&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 May 2014 12:58:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-05-22T12:58:56Z</dc:date>
    <item>
      <title>Run OS command</title>
      <link>https://community.sap.com/t5/technology-q-a/run-os-command/qaq-p/10347807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I need to run unix script before file comming into PI .Script will do some convertion and place file in respective dir .Later Sender channel will convert that file(non xml format to XML) and post file into target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; we need to select run os command for this ,however&amp;nbsp; my question was&amp;nbsp; where to write unix script and what to mention at&amp;nbsp; runoscommand under sender file channel. Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;aman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 15:01:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/run-os-command/qaq-p/10347807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-21T15:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Run OS command</title>
      <link>https://community.sap.com/t5/technology-q-a/run-os-command/qaa-p/10347808#M3748245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aman, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can execute scripts in PI both before and after message processing. &lt;/P&gt;&lt;P&gt;Please read below links -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.scn.sap.com/wiki/display/XI/SAP+XI+File+Adapter+OS+Command+Line+Feature" title="http://wiki.scn.sap.com/wiki/display/XI/SAP+XI+File+Adapter+OS+Command+Line+Feature"&gt;SAP XI File Adapter OS Command Line Feature - Process Integration - SCN Wiki&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="1047242" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="file adapter: Variables in OS command" href="https://community.sap.com/" modifiedtitle="true" title="file adapter: Variables in OS command"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OS command works differently on both SFTP and File adapter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Somil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 15:45:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/run-os-command/qaa-p/10347808#M3748245</guid>
      <dc:creator>somil_gulati</dc:creator>
      <dc:date>2014-05-21T15:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: Run OS command</title>
      <link>https://community.sap.com/t5/technology-q-a/run-os-command/qaa-p/10347809#M3748246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I gone through the link which you are provided,however we need write the script and input values under same commandline. Please confirm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 17:06:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/run-os-command/qaa-p/10347809#M3748246</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-21T17:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Run OS command</title>
      <link>https://community.sap.com/t5/technology-q-a/run-os-command/qaa-p/10347810#M3748247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to create a script and place it anywhere on your SAP&amp;nbsp; PI server.&lt;/P&gt;&lt;P&gt;In the channel you can write the command to execute the script and threre only you can pass the values to the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ex: sh /&amp;lt;your script path&amp;gt;/&amp;lt;script name&amp;gt; &amp;lt;value1&amp;gt; &amp;lt;value2&amp;gt;&lt;/P&gt;&lt;P&gt;The above command you can give in the operating command tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 17:18:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/run-os-command/qaa-p/10347810#M3748247</guid>
      <dc:creator>somil_gulati</dc:creator>
      <dc:date>2014-05-21T17:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Run OS command</title>
      <link>https://community.sap.com/t5/technology-q-a/run-os-command/qaa-p/10347811#M3748248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks somil , however my script need to replace values and give it to PI then PI will do FCC and process, so as my case just write the command to execute the script .correct no need of parameters passing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 17:32:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/run-os-command/qaa-p/10347811#M3748248</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-21T17:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Run OS command</title>
      <link>https://community.sap.com/t5/technology-q-a/run-os-command/qaa-p/10347812#M3748249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PI will pick files from AL11 and my question was where to write unix script for my change. please nyone suggest as its bit urgent. I'll write command to execute that script under runoscommand, however where i need to write script as PI is not connecting to source system. some other tool is placing files under AL11 and its nfs. so where i need to write my script. any one please suggest&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 12:58:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/run-os-command/qaa-p/10347812#M3748249</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-22T12:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Run OS command</title>
      <link>https://community.sap.com/t5/technology-q-a/run-os-command/qaa-p/10347813#M3748250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Aman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can write the script in any file and place it in any folder on your SAP PI server and you can call it via the OS command box from the sender channel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Somil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 13:05:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/run-os-command/qaa-p/10347813#M3748250</guid>
      <dc:creator>somil_gulati</dc:creator>
      <dc:date>2014-05-22T13:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Run OS command</title>
      <link>https://community.sap.com/t5/technology-q-a/run-os-command/qaa-p/10347814#M3748251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so we can write unix script in PI server . PI is running on unix server. do i need to write code under NWA or unix server and call from os command. can u give me unix code for&amp;nbsp; how to call and execute &lt;BR /&gt;( need to place under os command) thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 13:19:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/run-os-command/qaa-p/10347814#M3748251</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-22T13:19:04Z</dc:date>
    </item>
  </channel>
</rss>

