Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Run Operating System Command

$
0
0

Hello,

 

My Scenario is (PI 7.3)

 

Source (sender communication channel) file adapter(nfs)

Copy files from Directory(A) to Directory(B)

 

send these files from directory-B to target (receiver com channel)

 

for moving files from A-->B we have created a script ex: /usr/sap/scripts/movefiles.sh

 

I placed this script in Sender.com channel at "Run Operating System Command Before Message Processing"

stating /usr/bin/sh /usr/sap/scripts/movefiles.sh %F

 

but the files are not moved, I tried lot of combinations using %f and etc, but nothing work.

 

what is the correct command?  is this script needs to be executed in the sender channel (since the files are in the source system)

is there a way to see any log/error there is nothing in the com.channel monitor.

 

thanks in advance

George


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>