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

Command Line is not executing using File Adpater

$
0
0

Dear Experts-

 

I am working on a scenario which needs to zip all the files in the given folder along with .CSV file which is created using FILE Adapter using NFS protocol and deleted the files after zipping. This scenario has no mapping so using integrated configuration. I am using a command line to perform this task under option execute after message processing in FILE adapter. I have tested the command in PI by executing the program RSBDCOSO which opens up OS level access and it is working as expected, But the same command is not working when used FILE adapter in PI. I have checked the channel logs and it says Executed OS command but no action is happening in the folder. Please find the screen shots below.

 

 

Zip command: zip STATIC_FILENAME`date +%m%d%Y_%OH%OM%OS`.zip *|rm !(STATIC_FILENAME*.zip)

 

 

Works when executed in PI using program RSBDCOSO

6-6-2014 2-30-51 PM.png

Channel Log

 

6-6-2014 2-34-11 PM.png

 

Trouble shooting steps followed

 

Chekced the permission of the .CSV files : Looks good

Checked the channel logs: says OS executed

Checked  in NWA for FILE adapter traces not updating anything (not configure well)

Checked the blogs in SDN: Did not help much.

 

 

Please let me know how to resolve the issue.

 

Gray matters appreciated

 

Regards

 

HS


Viewing all articles
Browse latest Browse all 7030

Trending Articles



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