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
Channel Log
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